W3cubDocs

/WordPress

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

$where = apply_filters( 'getarchives_where', $sql_where, $parsed_args );

Changelog

Version Description
2.2.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/getarchives_where