apply_filters( 'a-z-listing-query', array|Object|WP_Query $query , string $type )
Modify or replace the query
Description
Parameters
- $query
(array|Object|WP_Query) The query object
- $type
(string) The type of the query. Either 'posts' or 'terms'.
Source
File: src/Query.php
Changelog
Version | Description |
---|---|
2.0.0 | apply to taxonomy queries. Add type parameter indicating type of query. |
1.7.1 | Introduced. |