wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
wp_random_content_posts_orderby › WordPress Function
Da7.2.0
Deprecaton/a
› wp_random_content_posts_orderby ( $orderby, $query )
| Parametri: (2) |
|
| Ritorna: |
|
| Definito a: |
|
| Codex: |
Orders the random content query randomly.
Added to the 'posts_orderby'} filter by {@see WP::handle_random while the random content query runs. Enforcing the order in SQL prevents {@see 'pre_get_posts'} callbacks setting the order of posts on archives from affecting the selection.