Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/29/2014 10:19:41 PM (12 years ago)
Author:
tw2113
Message:

Adding hook docs and 3-digit @since numbers to bp-xprofile-loader.php.

See #5949

File:
1 edited

Legend:

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

    r9167 r9289  
    1818         * Profile field types
    1919         *
    20          * @since BuddyPress (1.5)
     20         * @since BuddyPress (1.5.0)
    2121         * @var array
    2222         */
    … …  
    2727         *
    2828         * @see bp_xprofile_get_visibility_levels()
    29          * @since BuddyPress (1.6)
     29         * @since BuddyPress (1.6.0)
    3030         */
    3131        var $visibility_levels = array();
    … …  
    3434         * Start the xprofile component creation process
    3535         *
    36          * @since BuddyPress (1.5)
     36         * @since BuddyPress (1.5.0)
    3737         */
    3838        public function __construct() {
    … …  
    7979         * backwards compatibility.
    8080         *
    81          * @since BuddyPress (1.5)
     81         * @since BuddyPress (1.5.0)
    8282         */
    8383        public function setup_globals( $args = array() ) {
    … …  
    9999                }
    100100
    101                 // Set the support field type ids
     101                /**
     102                 * Filters the supported field type IDs.
     103                 *
     104                 * @since BuddyPress (1.1.0)
     105                 *
     106                 * @param array $value Array of IDs for the supported field types.
     107                 */
    102108                $this->field_types = apply_filters( 'xprofile_field_types', array_keys( bp_xprofile_get_field_types() ) );
    103109
Note: See TracChangeset for help on using the changeset viewer.