On this page
apply_filters( 'getarchives_where', string $sql_where, array $parsed_args )
Filters the SQL WHERE clause for retrieving archives.
Parameters
$sql_wherestring-
Portion of SQL query containing the WHERE clause.
$parsed_argsarray-
An array of default arguments.
Source
File: wp-includes/general-template.php. View all references
$where = apply_filters( 'getarchives_where', $sql_where, $parsed_args );
Related
Used By
| Used By | Description |
|---|---|
| wp_get_archives() wp-includes/general-template.php | Displays archive links based on type and format. |
Changelog
| Version | Description |
|---|---|
| 2.2.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/getarchives_where