getarchives_join WordPress Filter Hook
The getarchives_join filter hook is used to modify the SQL JOIN clause used when retrieving archive posts. This is useful for adding custom fields or other data to the SQL query.
apply_filters( 'getarchives_join', string $sql_join , array $parsed_args ) #
Filters the SQL JOIN clause for retrieving archives.
Parameters
- $sql_join
(string)Portion of SQL query containing JOIN clause.
- $parsed_args
(array)An array of default arguments.
Source
Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |