page_attributes_dropdown_pages_args

page_attributes_dropdown_pages_args

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.6.2

apply_filters('page_attributes_dropdown_pages_args') is found 1 times:

  • /wp-admin/includes/meta-boxes.php line 1025

    *
    * @param array $dropdown_args Array of arguments used to generate the pages drop-down.
    * @param WP_Post $post The current post.
    */
    $dropdown_args = apply_filters( ‘page_attributes_dropdown_pages_args’, $dropdown_args, $post );
    $pages = wp_dropdown_pages( $dropdown_args );
    if ( ! empty( $pages ) ) :
    ?>