Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/03/2016 05:01:13 AM (9 years ago)
Author:
tw2113
Message:

Adds many missing @since tags to the BP Core component.

See #6398.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-dependency.php

    r10431 r10497  
    2323/**
    2424 * Fire the 'bp_include' action, where plugins should include files.
     25 *
     26 * @since 1.2.5
    2527 */
    2628function bp_include() {
     
    3638/**
    3739 * Fire the 'bp_setup_components' action, where plugins should initialize components.
     40 *
     41 * @since 1.6.0
    3842 */
    3943function bp_setup_components() {
     
    4953/**
    5054 * Fire the 'bp_setup_canonical_stack' action, where plugins should set up their canonical URL.
     55 *
     56 * @since 2.1.0
    5157 */
    5258function bp_setup_canonical_stack() {
     
    9298/**
    9399 * Fire the 'bp_setup_globals' action, where plugins should initialize global settings.
     100 *
     101 * @since 1.2.0
    94102 */
    95103function bp_setup_globals() {
     
    105113/**
    106114 * Fire the 'bp_setup_nav' action, where plugins should register their navigation items.
     115 *
     116 * @since 1.2.0
    107117 */
    108118function bp_setup_nav() {
     
    118128/**
    119129 * Fire the 'bp_setup_admin_bar' action, where plugins should add items to the WP admin bar.
     130 *
     131 * @since 1.5.0
    120132 */
    121133function bp_setup_admin_bar() {
     
    135147/**
    136148 * Fire the 'bp_setup_title' action, where plugins should modify the page title.
     149 *
     150 * @since 1.5.0
    137151 */
    138152function bp_setup_title() {
     
    148162/**
    149163 * Fire the 'bp_register_widgets' action, where plugins should register widgets.
     164 *
     165 * @since 1.2.0
    150166 */
    151167function bp_setup_widgets() {
     
    193209 *
    194210 * We white-list the WordPress customizer which purposely loads the user early.
     211 *
     212 * @since 1.7.0
    195213 *
    196214 * @link https://buddypress.trac.wordpress.org/ticket/6046
     
    218236/**
    219237 * Fire the 'bp_init' action, BuddyPress's main initialization hook.
     238 *
     239 * @since 1.2.5
    220240 */
    221241function bp_init() {
     
    253273 *
    254274 * Attached to 'plugins_loaded'.
     275 *
     276 * @since 1.2.0
    255277 */
    256278function bp_loaded() {
     
    268290 *
    269291 * Attached to 'wp'.
     292 *
     293 * @since 1.6.0
    270294 */
    271295function bp_ready() {
     
    284308 * Attach potential template actions, such as catching form requests or routing
    285309 * custom URLs.
     310 *
     311 * @since 1.5.0
    286312 */
    287313function bp_actions() {
     
    300326 * Runs just after 'bp_actions'. Use this hook to attach your template
    301327 * loaders.
     328 *
     329 * @since 1.5.0
    302330 */
    303331function bp_screens() {
     
    317345 *
    318346 * Hooked to 'widgets_init'.
     347 *
     348 * @since 1.6.0
    319349 */
    320350function bp_widgets_init() {
     
    334364 *
    335365 * Hooked to 'wp_head'.
     366 *
     367 * @since 1.6.0
    336368 */
    337369function bp_head() {
     370
     371    /**
     372     * Fires inside the 'bp_head' function, which runs on 'wp_head'.
     373     *
     374     * @since 1.6.0
     375     */
    338376    do_action ( 'bp_head' );
    339377}
Note: See TracChangeset for help on using the changeset viewer.