mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-02 19:54:28 +00:00
Docs: Further improve documentation of known return types, plus other docs fixes.
See #48303 git-svn-id: https://develop.svn.wordpress.org/trunk@46661 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -864,7 +864,8 @@ class WP_User {
|
||||
*
|
||||
* @since 4.9.0
|
||||
*
|
||||
* @return array User capabilities array.
|
||||
* @return bool[] List of capabilities keyed by the capability name,
|
||||
* e.g. array( 'edit_posts' => true, 'delete_posts' => false ).
|
||||
*/
|
||||
private function get_caps_data() {
|
||||
$caps = get_user_meta( $this->ID, $this->cap_key, true );
|
||||
|
||||
Reference in New Issue
Block a user