pub_priv_sql_capability

最后更新于:2021-11-27 21:37:27

apply_filters_deprecated( ‘pub_priv_sql_capability’, string $cap )

Filters the capability to read private posts for a custom post type when generating SQL for getting posts by author.

参数

$cap

(string)
Capability.

源文件

文件: gc-includes/post.php

View on Trac