Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/03/2016 06:14:41 AM (11 years ago)
Author:
tw2113
Message:

More cleanup and new phpdocs for functions or methods in the XProfile component.

See #6406.

File:
1 edited

Legend:

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

    r10417 r10434  
    1414defined( 'ABSPATH' ) || exit;
    1515
     16/**
     17 * Creates our XProfile component.
     18 */
    1619class BP_XProfile_Component extends BP_Component {
    1720
    … …  
    5457         * Include files.
    5558         *
    56          * @param array $includes
     59         * @param array $includes Array of files to include.
    5760         */
    5861        public function includes( $includes = array() ) {
    … …  
    237240                }
    238241
    239                 // Change Cover image
     242                // Change Cover image.
    240243                if ( bp_displayed_user_use_cover_image_header() ) {
    241244                        $sub_nav[] = array(
    … …  
    410413         *
    411414         * @param array $wp_admin_nav The settings adminbar nav array.
    412          *
    413415         * @return array
    414416         */
    … …  
    430432}
    431433
     434/**
     435 * Bootstrap the XProfile component.
     436 */
    432437function bp_setup_xprofile() {
    433438        $bp = buddypress();
Note: See TracChangeset for help on using the changeset viewer.