wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
get_private_posts_cap_sql › WordPress Function
Seit2.2.0
Veraltetn/v
› get_private_posts_cap_sql ( $post_type )
Parameter: |
|
Gibt zurück: |
|
Definiert in: |
|
Codex: | |
Changelog: |
|
Retrieves the private post SQL based on capability.
This function provides a standardized way to appropriately select on the post_status of a post type. The function will return a piece of SQL code that can be added to a WHERE clause; this SQL is constructed to allow all published posts, and all private posts to which the user has access.Ähnliche Funktionen: _prime_post_caches, get_previous_posts_page_link, get_previous_posts_link, get_posts_by_author_sql, get_author_posts_url