Used By
| Used By | Description |
|---|---|
| wp-includes/post.php: get_posts_by_author_sql() | Retrieve the post SQL based on capability, author, and type. |
This hook has been deprecated. The hook transitioned from "somewhat useless" to "totally useless" instead.
Filters the capability to read private posts for a custom post type when generating SQL for getting posts by author.
(string) Capability.
File: wp-includes/post.php
| Version | Description |
|---|---|
| 3.2.0 | The hook transitioned from "somewhat useless" to "totally useless". |
| 2.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pub_priv_sql_capability