comments_list_table_query_args

comments_list_table_query_args

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('comments_list_table_query_args') is found 1 times:

  • /wp-admin/includes/class-wp-comments-list-table.php line 163
    		 * @since 5.1.0
    		 *
    		 * @param array $args An array of get_comments() arguments.
    		 */
    		$args = apply_filters( 'comments_list_table_query_args', $args );
    
    		$_comments = get_comments( $args );
    
    		if ( is_array( $_comments ) ) {
    			$this->items       = array_slice( $_comments, 0, $comments_per_page );
    			$this->extra_items = array_slice( $_comments, $comments_per_page );
    

See this hook used in plugins: