This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Page_Header::get_legacy_defaults( string $name, string[] $legacy_display_locations )

Set defaults based on legacy display value.


Parameters

$name

(Required) The name of the post type.

$legacy_display_locations

(Required) The legacy value.


Return

(bool)


Source

File: includes/modules/header_footer_grid/builder/page_header.php