apply_filters( ‘default_page_template_title’, string $label, string $context )

Filters the title of the default page template displayed in the drop-down.

Parameters

$labelstring
The display value for the default page template title.
$contextstring
Where the option label is displayed. Possible values include 'meta-box' or 'quick-edit'.

Source

$default_title = apply_filters( 'default_page_template_title', __( 'Default template' ), 'meta-box' );

Changelog

VersionDescription
4.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.