default_page_template_title
default_page_template_title
Appears in: advanced-custom-fields.5.10, advanced-custom-fields.5.10.1, advanced-custom-fields.5.10.2, advanced-custom-fields.5.12, advanced-custom-fields.5.12.1, advanced-custom-fields.5.12.2, advanced-custom-fields.5.12.3, advanced-custom-fields.5.7.10, advanced-custom-fields.5.7.12, advanced-custom-fields.5.7.6, advanced-custom-fields.5.7.7, advanced-custom-fields.5.7.8, advanced-custom-fields.5.7.9, advanced-custom-fields.5.8.0, advanced-custom-fields.5.8.1, advanced-custom-fields.5.8.11, advanced-custom-fields.5.8.12, advanced-custom-fields.5.8.13, advanced-custom-fields.5.8.14, advanced-custom-fields.5.8.2, advanced-custom-fields.5.8.3, advanced-custom-fields.5.8.5, advanced-custom-fields.5.8.7, advanced-custom-fields.5.8.8, advanced-custom-fields.5.8.9, advanced-custom-fields.5.9.0, advanced-custom-fields.5.9.1, advanced-custom-fields.5.9.3, advanced-custom-fields.5.9.4, advanced-custom-fields.5.9.5, advanced-custom-fields.5.9.6, advanced-custom-fields.5.9.7, advanced-custom-fields.5.9.8, advanced-custom-fields.5.9.9, advanced-custom-fields.6.0.2, advanced-custom-fields.6.0.3, advanced-custom-fields.6.0.4, advanced-custom-fields.6.0.5, advanced-custom-fields.6.0.6, advanced-custom-fields.6.0.7, advanced-custom-fields.6.1.4, advanced-custom-fields.6.1.6, advanced-custom-fields.6.1.7, advanced-custom-fields.6.2.0, advanced-custom-fields.6.2.1, advanced-custom-fields.6.2.2, advanced-custom-fields.6.2.3, advanced-custom-fields.6.2.4, advanced-custom-fields.6.2.6.1, advanced-custom-fields.6.2.7, advanced-custom-fields.6.2.9, advanced-custom-fields.6.3.1, advanced-custom-fields.6.3.10.2, advanced-custom-fields.6.3.11, advanced-custom-fields.6.3.2, advanced-custom-fields.6.3.3, advanced-custom-fields.6.3.5, advanced-custom-fields.6.3.6, advanced-custom-fields.6.3.6.3, gutenberg.3.3.0, gutenberg.3.6.2, gutenberg.3.7.0, gutenberg.3.8.0, gutenberg.3.9.0, gutenberg.4.0.0, gutenberg.4.1.1, gutenberg.4.2.0, gutenberg.4.3.0, gutenberg.4.4.0, gutenberg.4.5.0, gutenberg.4.5.1, gutenberg.4.6.0, gutenberg.4.6.1, gutenberg.4.7.0, gutenberg.4.7.1, gutenberg.4.8.0, gutenberg.4.9.0, gutenberg.5.0.0, gutenberg.5.1.1, gutenberg.5.2.0, gutenberg.5.3.0, wordpress-4.4, wordpress-4.8, wordpress-4.9, wordpress-4.9.4, wordpress-4.9.5, wordpress-4.9.6, wordpress-4.9.7, wordpress-4.9.8, wordpress-5.0, wordpress-5.0.1, wordpress-5.0.2, wordpress-5.0.3, wordpress-5.1, wordpress-5.1.1, wordpress-5.2, wordpress-5.2.1, wordpress-5.2.2, wordpress-5.2.3, wordpress-5.2.4, wordpress-5.3, wordpress-5.3.1, wordpress-5.3.2, wordpress-5.4, wordpress-5.4.1, wordpress-5.4.2, wordpress-5.5, wordpress-5.5.1, wordpress-5.5.2, wordpress-5.5.3, wordpress-5.6, wordpress-5.6.1, wordpress-5.6.2, wordpress-5.7, wordpress-5.7.1, wordpress-5.7.2, wordpress-5.8, wordpress-5.8.1, wordpress-5.8.2, wordpress-5.8.3, wordpress-5.9, wordpress-5.9.1, wordpress-5.9.2, wordpress-5.9.3, wordpress-6.0, wordpress-6.0.1, wordpress-6.0.2, wordpress-6.0.3, wordpress-6.1, wordpress-6.1.1, wordpress-6.2, wordpress-6.2.1, wordpress-6.2.2, wordpress-6.3, wordpress-6.3.1, wordpress-6.3.2, wordpress-6.4, wordpress-6.4.1, wordpress-6.4.2, wordpress-6.4.3, wordpress-6.5, wordpress-6.5.2, wordpress-6.5.3, wordpress-6.5.4, wordpress-6.5.5, wordpress-6.6, wordpress-6.6.1, wordpress-6.6.2, wordpress-6.7, wordpress-6.7.1
Hook Type: filter
Displaying hooks found in version: wordpress-6.7.1apply_filters('default_page_template_title') is found 3 times:
- /wp-admin/edit-form-blocks.php line 167
$available_templates = wp_get_theme()->get_page_templates( get_post( $post->ID ) ); $available_templates = ! empty( $available_templates ) ? array_replace( array( /** This filter is documented in wp-admin/includes/meta-boxes.php */ '' => apply_filters( 'default_page_template_title', __( 'Default template' ), 'rest-api' ), ), $available_templates ) : $available_templates; // Lock settings. $user_id = wp_check_post_lock( $post->ID );
- /wp-admin/includes/class-wp-posts-list-table.php line 1888
<option value="-1"><?php _e( '— No Change —' ); ?></option> <?php endif; // $bulk ?> <?php /** This filter is documented in wp-admin/includes/meta-boxes.php */ $default_title = apply_filters( 'default_page_template_title', __( 'Default template' ), 'quick-edit' ); ?> <option value="default"><?php echo esc_html( $default_title ); ?></option> <?php page_template_dropdown( '', $screen->post_type ); ?> </select> </label>
- /wp-admin/includes/meta-boxes.php line 1063
* @param string $label The display value for the default page template title. * @param string $context Where the option label is displayed. Possible values * include 'meta-box' or 'quick-edit'. */ $default_title = apply_filters( 'default_page_template_title', __( 'Default template' ), 'meta-box' ); ?> <option value="default"><?php echo esc_html( $default_title ); ?></option> <?php page_template_dropdown( $template, $post->post_type ); ?> </select> <?php endif; ?> <?php if ( post_type_supports( $post->post_type, 'page-attributes' ) ) : ?>