wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_random_content_split_the_query › WordPress Function
Seit7.2.0
Veraltetn/v
› wp_random_content_split_the_query ( $split_the_query, $query )
| Parameter: (2) |
|
| Gibt zurück: |
|
| Definiert in: |
|
| Codex: |
Prevents the random content query from being split into multiple database queries.
Randomly ordered queries are not cached, so there is no benefit to querying the post IDs separately to the post objects. Disabling the split allows the random post to be retrieved in a single database query.