WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )apply_filters( "hook_name", "what_to_filter" ).Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
| Line | Code |
|---|---|
| 1563 | <?php if ( 0 < count( get_page_templates( null, $screen->post_type ) ) ) : ?> |
| 1564 | <label> |
| 1565 | <span class="title"><?php _e( 'Template' ); ?></span> |
| 1566 | <select name="page_template"> |
| 1567 | <?php if ( $bulk ) : ?> |
| 1568 | <option value="-1"><?php _e( '— No Change —' ); ?></option> |
| 1569 | <?php endif; // $bulk ?> |
| 1570 | <?php |
| 1571 | /** This filter is documented in wp-admin/includes/meta-boxes.php */ |
| 1572 | $default_title = apply_filters( 'default_page_template_title', __( 'Default Template' ), 'quick-edit' ); |
| 1573 | ?> |
| 1574 | <option value="default"><?php echo esc_html( $default_title ); ?></option> |
| 1575 | <?php page_template_dropdown( '', $screen->post_type ) ?> |
| 1576 | </select> |
| 1577 | </label> |
| 1578 | <?php endif; ?> |
| 1579 | |
| 1580 | <?php if ( count( $flat_taxonomies ) && !$bulk ) : ?> |
| 1581 | |