query_loop_block_query_vars

query_loop_block_query_vars

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('query_loop_block_query_vars') is found 1 times:

  • /wp-includes/blocks.php line 2618
    2614
    2615
    2616
    2617
    2618
    2619
    2620
    2621
    2622
    2623
    2624
         * @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: