wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
get_{$adjacent}_post_where › Filtr WordPress Hooks
Od4.4.0
Przestarzałyn/a
› apply_filters( "get_{$adjacent}_post_where", $wpdb->prepare( "WHERE p.post_date $op %s AND p.post_type = %s $where", $current_post_date, $post->post_type )
Parametry: (5) |
|
Zdefiniowane na: |
|
Codex: |
Filters the WHERE 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_where
get_previous_post_where
Powiązane Funkcje: get_adjacent_post, get_adjacent_post_rel_link, get_adjacent_post_link, adjacent_posts_rel_link, get_parent_post_rel_link, adjacent_post_link