Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbp_loaded

Codex Home → bbp_loaded

The ‘bbp_loaded’ action is hooked onto WordPress’s ‘plugins_loaded’ action with default priority 10 in:

/includes/core/actions.php

It’s one of several ‘piggy-back’ actions intended to help load code only when bbPress is active. It’s used to execute code early in the WordPress load order.

How it's hooked

add_action( 'plugins_loaded', 'bbp_loaded', 10 );

Where it's used

add_action( 'bbp_loaded', 'bbp_constants',                 2  );
add_action( 'bbp_loaded', 'bbp_boot_strap_globals',        4  );
add_action( 'bbp_loaded', 'bbp_includes',                  6  );
add_action( 'bbp_loaded', 'bbp_setup_globals',             8  );
add_action( 'bbp_loaded', 'bbp_setup_option_filters',      10 );
add_action( 'bbp_loaded', 'bbp_setup_user_option_filters', 12 );
add_action( 'bbp_loaded', 'bbp_register_theme_packages',   14 );
add_action( 'bbp_loaded', 'bbp_filter_user_roles_option',  16 );
Skip to toolbar