Filters the DISTINCT clause of the query.
Parameters
Source
$distinct = apply_filters_ref_array( 'posts_distinct', array( $distinct, &$this ) );
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |
Filters the DISTINCT clause of the query.
$distinct = apply_filters_ref_array( 'posts_distinct', array( $distinct, &$this ) );
Version | Description |
---|---|
2.1.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
Example Migrated from Codex:
Eliminate duplicates in posts returned, unless the duplicates is allowed