dashboard_recent_posts_query_args

dashboard_recent_posts_query_args

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('dashboard_recent_posts_query_args') is found 1 times:

  • /wp-admin/includes/dashboard.php line 996
    	 * @since 4.2.0
    	 *
    	 * @param array $query_args The arguments passed to WP_Query to produce the list of posts.
    	 */
    	$query_args = apply_filters( 'dashboard_recent_posts_query_args', $query_args );
    
    	$posts = new WP_Query( $query_args );
    
    	if ( $posts->have_posts() ) {
    
    		echo '<div id="' . $args&#91;'id'&#93; . '" class="activity-block">';