wp_dropdown_pages

wp_dropdown_pages

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('wp_dropdown_pages') is found 1 times:

  • /wp-includes/post-template.php line 1243
    1239
    1240
    1241
    1242
    1243
    1244
    1245
    1246
    1247
    1248
    1249
    * @param array     $parsed_args The parsed arguments array. See wp_dropdown_pages()
     *                               for information on accepted arguments.
     * @param WP_Post[] $pages       Array of the page objects.
     */
    $html = apply_filters( 'wp_dropdown_pages', $output, $parsed_args, $pages );
     
    if ( $parsed_args['echo'] ) {
        echo $html;
    }
     
    return $html;

See this hook used in plugins: