Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/post.php | apply_filters_deprecated | 7138 | /** * Filters the capability to read private posts for a custom post type * when generating SQL for getting posts by author. * * @since 2.2.0 * @deprecated 3.2.0 The hook transitioned from "somewhat useless" to "totally useless". * * @param string $cap Capability. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $cap | Capability. |