Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
posts_distinct

Description

Allows a plugin to add a DISTINCTROW clause to the query that returns the post array.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for posts_distinct

This database has information for all major versions from WP 1.2.1 through 6.2.

Version File Line Type
2.1 wp-includes/query.php 976 View in context filter
2.2 wp-includes/query.php 1052 View in context filter
2.3 wp-includes/query.php 1256 View in context filter
2.5 wp-includes/query.php 1401 View in context filter
2.6 wp-includes/query.php 1424 View in context filter
2.7 wp-includes/query.php 2214 View in context filter
2.8 wp-includes/query.php 2223 View in context filter
2.9 wp-includes/query.php 2217 View in context filter
3.0 wp-includes/query.php 2385 View in context filter
3.1 wp-includes/query.php 2521 View in context filter
3.2 wp-includes/query.php 2565 View in context filter
3.3 wp-includes/query.php 2574 View in context filter
3.4 wp-includes/query.php 2570 View in context filter
3.5 wp-includes/query.php 2589 View in context filter
3.6 wp-includes/query.php 2606 View in context filter
3.7 wp-includes/query.php 2845 View in context filter
3.8 wp-includes/query.php 2860 View in context filter
3.9 wp-includes/query.php 3022 View in context filter
4.0 wp-includes/query.php 3202 View in context filter
4.1 wp-includes/query.php 3216 View in context filter
4.2 wp-includes/query.php 3236 View in context filter
4.3 wp-includes/query.php 3242 View in context filter
4.4 wp-includes/query.php 3366 View in context filter
4.5 wp-includes/query.php 3356 View in context filter
4.6 wp-includes/query.php 3373 View in context filter
4.7 wp-includes/class-wp-query.php 2564 View in context filter
4.8 wp-includes/class-wp-query.php 2574 View in context filter
4.9 wp-includes/class-wp-query.php 2549 View in context filter
5.0 wp-includes/class-wp-query.php 2549 View in context filter
5.1 wp-includes/class-wp-query.php 2694 View in context filter
5.2 wp-includes/class-wp-query.php 2711 View in context filter
5.3 wp-includes/class-wp-query.php 2718 View in context filter
5.4 wp-includes/class-wp-query.php 2733 View in context filter
5.5 wp-includes/class-wp-query.php 2740 View in context filter
5.6 wp-includes/class-wp-query.php 2740 View in context filter
5.7 wp-includes/class-wp-query.php 2746 View in context filter
5.8 wp-includes/class-wp-query.php 2746 View in context filter
5.9 wp-includes/class-wp-query.php 2803 View in context filter
6.0 wp-includes/class-wp-query.php 2816 View in context filter
6.1 wp-includes/class-wp-query.php 2858 View in context filter
6.2 wp-includes/class-wp-query.php 2897 View in context filter

Related Hooks

We find related hooks using word stems. posts_distinct has 2 significant word stem(s): posts, distinct. Note that some of the hooks below may not appear in all versions of WP.