A WordPress-centric search engine for devs and theme authors



posts_distinct ›

Since2.1.0
Deprecatedn/a
apply_filters_ref_array( 'posts_distinct', array( $distinct, &$this )
Parameters: (2)
  • (string) $distinct The DISTINCT clause of the query.
    Required: Yes
  • (WP_Query) $this The WP_Query instance (passed by reference).
    Required: Yes
Defined at:
Codex:

Filters the DISTINCT clause of the query.





Source

$distinct = apply_filters_ref_array( 'posts_distinct', array( $distinct, &$this ) );