[ Index ]

PHP Cross Reference of BuddyPress




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

Main BuddyPress Admin Class.

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

Defines 1 class

BP_Admin:: (26 methods):

Class: BP_Admin  - X-Ref

Load BuddyPress plugin admin area.

__construct()   X-Ref
The main BuddyPress admin loader.

since: 1.6.0

setup_globals()   X-Ref
Set admin-related globals.

since: 1.6.0

includes()   X-Ref
Include required files.

since: 1.6.0

setup_actions()   X-Ref
Set up the admin hooks, actions, and filters.

since: 1.6.0

admin_menus()   X-Ref
Register site- or network-admin nav menu elements.

Contextually hooked to site or network-admin depending on current configuration.

since: 1.6.0

site_admin_menus()   X-Ref
Register site-admin nav menu elements.

since: 2.5.0

register_admin_settings()   X-Ref
Register the settings.

since: 1.6.0

admin_bar_about_link( $wp_admin_bar )   X-Ref
Add a link to BuddyPress Hello to the admin bar.

since: 1.9.0
since: 3.0.0 Hooked at priority 100 (was 15).
param: WP_Admin_Bar $wp_admin_bar

modify_plugin_action_links( $links, $file )   X-Ref
Add Settings link to plugins area.

since: 1.6.0
return: array Processed links.
param: array  $links Links array in which we would prepend our link.
param: string $file  Current plugin basename.

admin_load()   X-Ref
Displays an admin notice to inform settings have been saved.

The notice is only displayed inside the Network Admin when
BuddyPress is network activated.

since: 10.0.0

admin_head()   X-Ref
Add some general styling to the admin area.

since: 1.6.0

enqueue_scripts()   X-Ref
Add some general styling to the admin area.

since: 1.6.0

add_privacy_policy_content()   X-Ref
Registers BuddyPress's suggested privacy policy language.

since: 4.0.0

about_screen()   X-Ref
Output the BuddyPress Hello template.

since: 1.7.0 Screen content.
since: 3.0.0 Now outputs BuddyPress Hello template.

credits_screen()   X-Ref
Output the credits screen.

Hardcoding this in here is pretty janky. It's fine for now, but we'll
want to leverage api.wordpress.org eventually.

since: 1.7.0

emails_register_situation_column( $columns = array()   X-Ref
Registers 'Situations' column on Emails dashboard page.

since: 2.6.0
return: array
param: array $columns Current column data.

emails_display_situation_column_data( $column = '', $post_id = 0 )   X-Ref
Output column data for our custom 'Situations' column.

since: 2.6.0
param: string $column  Current column name.
param: int    $post_id Current post ID.

is_new_install()   X-Ref
Return true/false based on whether a query argument is set.

since: 2.2.0
return: bool

display_version()   X-Ref
Return a user-friendly version-number string, for use in translations.

since: 2.2.0
return: string

emails_admin_menu_order( $custom_menus = array()   X-Ref
Add Emails menu item to custom menus array.

Several BuddyPress components have top-level menu items in the Dashboard,
which all appear together in the middle of the Dashboard menu. This function
adds the Emails screen to the array of these menu items.

since: 2.4.0
return: array $custom_menus List of top-level BP menu items, with Emails added.
param: array $custom_menus The list of top-level BP menu items.

admin_register_styles()   X-Ref
Register styles commonly used by BuddyPress wp-admin screens.

since: 2.5.0

admin_register_scripts()   X-Ref
Register JS commonly used by BuddyPress wp-admin screens.

since: 2.5.0

add_inline_styles()   X-Ref
Adds inline styles to adapt the number of grid columns according to the number of BP Admin tabs.

since: 10.0.0

addons_tab( $tabs = array()   X-Ref
Add a "BuddyPress Add-ons" tab to the Add Plugins Admin screen.

since: 10.0.0
return: array      The same list including the "BuddyPress Add-ons" tab.
param: array $tabs The list of "Add Plugins" Tabs (Featured, Recommended, etc..).

addons_args( $args = false )   X-Ref
Customize the Plugins API query arguments.

The most important argument is the $user one which is set to "buddypress".
Using this key and value will fetch the plugins the w.org "buddypress" user favorited.

since: 10.0.0
return: array             The "BuddyPress add-ons" args.
param: false|array $args  `false` by default.

display_addons_table()   X-Ref
Displays the list of "BuddyPress Add-ons".

since: 10.0.0

Generated: Mon Jul 15 01:00:54 2024 Cross-referenced by PHPXref 0.7.1