query_loop_block_query_vars

query_loop_block_query_vars

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('query_loop_block_query_vars') is found 1 times:

  • /wp-includes/blocks.php line 2617
    	 * @param array    $query Array containing parameters for `WP_Query` as parsed by the block context.
    	 * @param WP_Block $block Block instance.
    	 * @param int      $page  Current query's page.
    	 */
    	return apply_filters( 'query_loop_block_query_vars', $query, $block, $page );
    }
    
    /**
     * Helper function that returns the proper pagination arrow HTML for
     * `QueryPaginationNext` and `QueryPaginationPrevious` blocks based
     * on the provided `paginationArrow` from `QueryPagination` context.
    

See this hook used in plugins: