Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/09/2015 05:07:56 AM (10 years ago)
Author:
tw2113
Message:

More updates to BP-Core docs.

See #6398.

File:
1 edited

Legend:

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

    r10012 r10039  
    11<?php
    2 
    32/**
    43 * BuddyPress Filters & Actions.
     
    109 * They are consolidated here to make searching for them easier, and to help
    1110 * developers understand at a glance the order in which things occur.
    12  *
    1311 */
    1412
    15 // Exit if accessed directly
     13// Exit if accessed directly.
    1614defined( 'ABSPATH' ) || exit;
    1715
     
    3432add_action( 'plugins_loaded',          'bp_loaded',                 10    );
    3533add_action( 'init',                    'bp_init',                   10    );
    36 add_action( 'parse_query',             'bp_parse_query',            2     ); // Early for overrides
     34add_action( 'parse_query',             'bp_parse_query',            2     ); // Early for overrides.
    3735add_action( 'wp',                      'bp_ready',                  10    );
    3836add_action( 'set_current_user',        'bp_setup_current_user',     10    );
    3937add_action( 'setup_theme',             'bp_setup_theme',            10    );
    40 add_action( 'after_setup_theme',       'bp_after_setup_theme',      100   ); // After WP themes
     38add_action( 'after_setup_theme',       'bp_after_setup_theme',      100   ); // After WP themes.
    4139add_action( 'wp_enqueue_scripts',      'bp_enqueue_scripts',        10    );
    42 add_action( 'admin_bar_menu',          'bp_setup_admin_bar',        20    ); // After WP core
     40add_action( 'admin_bar_menu',          'bp_setup_admin_bar',        20    ); // After WP core.
    4341add_action( 'template_redirect',       'bp_template_redirect',      10    );
    4442add_action( 'widgets_init',            'bp_widgets_init',           10    );
     
    10098add_action( 'bp_after_setup_theme', 'bp_load_theme_functions', 1 );
    10199
    102 // Load the admin
     100// Load the admin.
    103101if ( is_admin() ) {
    104102    add_action( 'bp_loaded', 'bp_admin' );
    105103}
    106104
    107 // Activation redirect
     105// Activation redirect.
    108106add_action( 'bp_activation', 'bp_add_activation_redirect' );
Note: See TracChangeset for help on using the changeset viewer.