get_private_posts_cap_sql Wordpress function


Description:

Retrieve the private post SQL based on capability.


Syntax:


Arguments:

(string) $post_type currently only supports 'post' or 'page'.


Return Type:

(string) SQL code that can be added to a where clause.


Define At:

wp-includes/post.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_private_posts_cap_sql


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×