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.5.2

apply_filters('wp_dropdown_pages') is found 1 times:

  • /wp-includes/post-template.php line 1239
    	 * @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: