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.


Top ↑

Source

File: wp-includes/general-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More