dashboard_recent_drafts_query_args

dashboard_recent_drafts_query_args

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('dashboard_recent_drafts_query_args') is found 1 times:

  • /wp-admin/includes/dashboard.php line 641
    		 * @since 4.4.0
    		 *
    		 * @param array $query_args The query arguments for the 'Recent Drafts' dashboard widget.
    		 */
    		$query_args = apply_filters( 'dashboard_recent_drafts_query_args', $query_args );
    
    		$drafts = get_posts( $query_args );
    		if ( ! $drafts ) {
    			return;
    		}
    	}