wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
get_{$adjacent}_post_sort › WordPress Filter Hooks
Seit4.9.0
Veraltetn/v
› apply_filters( "get_{$adjacent}_post_sort", "ORDER BY p.post_date $order LIMIT 1", $post, $order )
Parameter: (3) |
|
Definiert in: |
|
Codex: |
Filters the ORDER BY clause in the SQL for an adjacent post query.
The dynamic portion of the hook name, $adjacent
, refers to the type
of adjacency, 'next' or 'previous'.
Possible hook names include:
get_next_post_sort
get_previous_post_sort
Ähnliche Funktionen: get_adjacent_post, get_adjacent_post_link, get_adjacent_post_rel_link, adjacent_post_link, wp_get_recent_posts, get_attachment_icon_src