Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/28/2014 07:02:00 PM (5 years ago)
Author:
tw2113
Message:

Adding complete version number and hook docs to bp-xprofile-caps.php.

See #5949.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/bp-xprofile-caps.php

    r6342 r9284  
    1414 * Maps XProfile caps to built in WordPress caps
    1515 *
    16  * @since BuddyPress (1.6)
     16 * @since BuddyPress (1.6.0)
    1717 *
    1818 * @param array $caps Capabilities for meta capability
     
    5656    }
    5757
     58    /**
     59     * Filters the XProfile caps to built in WordPress caps.
     60     *
     61     * @since BuddyPress (1.6.0)
     62     *
     63     * @param array  $caps    Capabilities for meta capability.
     64     * @param string $cap     Capability name.
     65     * @param int    $user_id User ID being mapped.
     66     * @param mixed  $args    Capability arguments.
     67     */
    5868    return apply_filters( 'bp_xprofile_map_meta_caps', $caps, $cap, $user_id, $args );
    5969}
Note: See TracChangeset for help on using the changeset viewer.