[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/admin/ -> bp-core-admin-actions.php (summary)

BuddyPress Admin Actions. This file contains the actions that are used through-out BuddyPress Admin. They are consolidated here to make searching for them easier, and to help developers understand at a glance the order in which things occur.

File Size: 269 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 10 functions

  bp_new_site()
  bp_admin_init()
  bp_admin_menu()
  bp_admin_head()
  bp_admin_notices()
  bp_admin_enqueue_scripts()
  bp_register_importers()
  bp_register_admin_style()
  bp_register_admin_settings()
  bp_admin_display_directory_states()

Functions
Functions that are not part of a class:

bp_new_site( $blog_id, $user_id, $domain, $path, $site_id, $meta )   X-Ref
When a new site is created in a multisite installation, run the activation
routine on that site.

param: int    $blog_id ID of the blog being installed to.
param: int    $user_id ID of the user the install is for.
param: string $domain  Domain to use with the install.
param: string $path    Path to use with the install.
param: int    $site_id ID of the site being installed to.
param: array  $meta    Metadata to use with the site creation.
since: 1.7.0

bp_admin_init()   X-Ref
Piggy back admin_init action.

since: 1.7.0

bp_admin_menu()   X-Ref
Piggy back admin_menu action.

since: 1.7.0

bp_admin_head()   X-Ref
Piggy back admin_head action.

since: 1.7.0

bp_admin_notices()   X-Ref
Piggy back admin_notices action.

since: 1.7.0

bp_admin_enqueue_scripts( $hook_suffix = '' )   X-Ref
Piggy back admin_enqueue_scripts action.

param: string $hook_suffix The current admin page, passed to
since: 1.7.0

bp_register_importers()   X-Ref
Dedicated action to register BuddyPress importers.

since: 1.7.0

bp_register_admin_style()   X-Ref
Dedicated action to register admin styles.

since: 1.7.0

bp_register_admin_settings()   X-Ref
Dedicated action to register admin settings.

since: 1.7.0

bp_admin_display_directory_states( $post_states = array()   X-Ref
Dedicated filter to inform about BP components directory page states.

param: string[] $post_states An array of post display states.
param: WP_Post  $post        The current post object.
since: 10.0.0



Generated: Thu Nov 21 01:00:57 2024 Cross-referenced by PHPXref 0.7.1