widget_pages_args

widget_pages_args

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.0.3

apply_filters('widget_pages_args') is found 1 times:

  • /wp-includes/widgets/class-wp-widget-pages.php line 73
    		 *
    		 * @param array $args     An array of arguments to retrieve the pages list.
    		 * @param array $instance Array of settings for the current widget.
    		 */
    		$out = wp_list_pages( apply_filters( 'widget_pages_args', array(
    			'title_li'    => '',
    			'echo'        => 0,
    			'sort_column' => $sortby,
    			'exclude'     => $exclude
    		), $instance ) );