Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/11/2015 02:35:35 AM (12 years ago)
Author:
tw2113
Message:

Adds hooks documentation for bp-loader.php.

See #5929.

File:
1 edited

Legend:

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

    r9723 r9739  
    315315                /** Loading ***********************************************************/
    316316
     317                /**
     318                 * Filters the load_deprecated property value.
     319                 *
     320                 * @since BuddyPress (2.0.0)
     321                 *
     322                 * @param constant BP_IGNORE_DEPRECATED Whether or not to ignore deprecated functionality.
     323                 */
    317324                $this->load_deprecated = ! apply_filters( 'bp_ignore_deprecated', BP_IGNORE_DEPRECATED );
    318325
    … …  
    362369
    363370                // BuddyPress Root blog ID
     371                /**
     372                 * Filters the BuddyPress Root blog ID.
     373                 *
     374                 * @since BuddyPress (1.5.0)
     375                 *
     376                 * @param constant BP_ROOT_BLOG BuddyPress Root blog ID.
     377                 */
    364378                $this->root_blog_id = (int) apply_filters( 'bp_get_root_blog_id', BP_ROOT_BLOG );
    365379
    … …  
    516530                }
    517531
    518                 // All BuddyPress actions are setup (includes bbp-core-hooks.php)
     532                /**
     533                 * Fires after the setup of all BuddyPress actions.
     534                 *
     535                 * Includes bbp-core-hooks.php.
     536                 *
     537                 * @since BuddyPress (1.7.0)
     538                 *
     539                 * @param BuddyPress $this. Current BuddyPress instance. Passed by reference.
     540                 */
    519541                do_action_ref_array( 'bp_after_setup_actions', array( &$this ) );
    520542        }
Note: See TracChangeset for help on using the changeset viewer.