Changeset 20683
- Timestamp:
- 05/02/2012 02:17:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/capabilities.php
r20534 r20683 854 854 * This is useful for looking up whether the user has a specific role 855 855 * assigned to the user. The second optional parameter can also be used to 856 * check for capabilities against a specific post.856 * check for capabilities against a specific object, such as a post or user. 857 857 * 858 858 * @since 2.0.0 … … 860 860 * 861 861 * @param string|int $cap Capability or role name to search. 862 * @param int $post_id Optional. Post ID to check capability against specific post.863 862 * @return bool True, if user has capability; false, if user does not have capability. 864 863 */
Note: See TracChangeset
for help on using the changeset viewer.