[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
Main BuddyPress Admin Class.
File Size: | 1559 lines (63 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
BP_Admin:: (26 methods):
__construct()
setup_globals()
includes()
setup_actions()
admin_menus()
site_admin_menus()
register_admin_settings()
admin_bar_about_link()
modify_plugin_action_links()
admin_load()
admin_head()
enqueue_scripts()
add_privacy_policy_content()
about_screen()
credits_screen()
emails_register_situation_column()
emails_display_situation_column_data()
is_new_install()
display_version()
emails_admin_menu_order()
admin_register_styles()
admin_register_scripts()
add_inline_styles()
addons_tab()
addons_args()
display_addons_table()
__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. param: WP_Admin_Bar $wp_admin_bar since: 1.9.0 since: 3.0.0 Hooked at priority 100 (was 15). |
modify_plugin_action_links( $links, $file ) X-Ref |
Add Settings link to plugins area. param: array $links Links array in which we would prepend our link. param: string $file Current plugin basename. since: 1.6.0 return: array Processed links. |
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. param: array $columns Current column data. since: 2.6.0 return: array |
emails_display_situation_column_data( $column = '', $post_id = 0 ) X-Ref |
Output column data for our custom 'Situations' column. param: string $column Current column name. param: int $post_id Current post ID. since: 2.6.0 |
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. param: array $custom_menus The list of top-level BP menu items. since: 2.4.0 return: array $custom_menus List of top-level BP menu items, with Emails added. |
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. param: array $tabs The list of "Add Plugins" Tabs (Featured, Recommended, etc..). since: 10.0.0 return: array The same list including the "BuddyPress Add-ons" tab. |
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. param: false|array $args `false` by default. since: 10.0.0 return: array The "BuddyPress add-ons" args. |
display_addons_table() X-Ref |
Displays the list of "BuddyPress Add-ons". since: 10.0.0 |
Generated: Sun Dec 22 01:00:54 2024 | Cross-referenced by PHPXref 0.7.1 |