[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/includes/admin/classes/ -> class-bbp-admin.php (summary)

Main bbPress Admin Class

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

Defines 1 class

BBP_Admin:: (29 methods):
  __construct()
  setup_globals()
  includes()
  setup_actions()
  setup_notices()
  hide_notices()
  output_notices()
  add_notice()
  esc_notice()
  add_upgrade_count()
  admin_menus()
  network_admin_menus()
  register_admin_settings()
  map_settings_meta_caps()
  register_importers()
  modify_plugin_action_links()
  enqueue_scripts()
  enqueue_styles()
  admin_head()
  register_admin_style()
  option_page_capability_bbpress()
  suggest_topic()
  suggest_user()
  screen_header()
  about_screen()
  credits_screen()
  update_screen()
  network_update_screen()
  nextpage()


Class: BBP_Admin  - X-Ref

Loads bbPress plugin admin area

__construct()   X-Ref
The main bbPress admin loader

since: 2.0.0 bbPress (r2515)

setup_globals()   X-Ref
Admin globals

since: 2.0.0 bbPress (r2646)

includes()   X-Ref
Include required files

since: 2.0.0 bbPress (r2646)

setup_actions()   X-Ref
Setup the admin hooks, actions and filters

since: 2.0.0 bbPress (r2646)

setup_notices()   X-Ref
Setup general admin area notices.

since: 2.6.0 bbPress (r6701)

hide_notices()   X-Ref
Handle hiding of general admin area notices.

since: 2.6.0 bbPress (r6701)

output_notices()   X-Ref
Output all admin area notices

since: 2.6.0 bbPress (r6771)

add_notice( $message, $class = false, $is_dismissible = true )   X-Ref
Add a notice to the notices array

return: void
param: string|WP_Error $message        A message to be displayed or {@link WP_Error}
param: string          $class          Optional. A class to be added to the message div
param: bool            $is_dismissible Optional. True to dismiss, false to persist
since: 2.6.0 bbPress (r6771)

esc_notice( $message = '' )   X-Ref
Escape message string output

return: string
param: string $message
since: 2.6.0 bbPress (r6775)

add_upgrade_count()   X-Ref
Maybe append the pending upgrade count to the "Tools" menu.

since: 2.6.0 bbPress (r6896)

admin_menus()   X-Ref
Add the admin menus

since: 2.0.0 bbPress (r2646)

network_admin_menus()   X-Ref
Add the network admin menus

since: 2.1.0 bbPress (r3689)

register_admin_settings()   X-Ref
Register the settings

since: 2.0.0 bbPress (r2737)

map_settings_meta_caps( $caps = array()   X-Ref
Maps settings capabilities

return: array Actual capabilities for meta capability
param: array $caps Capabilities for meta capability
param: string $cap Capability name
param: int $user_id User id
param: array $args Arguments
since: 2.2.0 bbPress (r4242)

register_importers()   X-Ref
Register the importers

since: 2.0.0 bbPress (r2737)

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

return: array Processed links
param: array $links Links array in which we would prepend our link
param: string $file Current plugin basename
since: 2.0.0 bbPress (r2737)

enqueue_scripts()   X-Ref
Enqueue any admin scripts we might need

since: 2.2.0 bbPress (r4260)

enqueue_styles()   X-Ref
Enqueue any admin scripts we might need

since: 2.6.0 bbPress (r5224)

admin_head()   X-Ref
Remove the individual recount and converter menus.
They are grouped together by h2 tabs

since: 2.0.0 bbPress (r2464)

register_admin_style()   X-Ref
Registers the bbPress admin color scheme

Because wp-content can exist outside of the WordPress root there is no
way to be certain what the relative path of the admin images is.
We are including the two most common configurations here, just in case.

since: 2.0.0 bbPress (r2521)

option_page_capability_bbpress( $capability = 'manage_options' )   X-Ref
Allow keymaster role to save Forums settings

return: string Return minimum capability
param: string $capability
since: 2.3.0 bbPress (r4678)

suggest_topic()   X-Ref
Ajax action for facilitating the forum auto-suggest

since: 2.2.0 bbPress (r4261)

suggest_user()   X-Ref
Ajax action for facilitating the topic and reply author auto-suggest

since: 2.4.0 bbPress (r5014)

screen_header()   X-Ref
Output the shared screen header for about_screen() & credits_screen()

Contains title, subtitle, and badge area

since: 2.6.0 bbPress (r6604)

about_screen()   X-Ref
Output the about screen

since: 2.2.0 bbPress (r4159)

credits_screen()   X-Ref
Output the credits screen

since: 2.2.0 bbPress (r4159)

update_screen()   X-Ref
Update all bbPress forums across all sites

since: 2.1.0 bbPress (r3689)

network_update_screen()   X-Ref
Update all bbPress forums across all sites

since: 2.1.0 bbPress (r3689)

nextpage()   X-Ref
No description



Generated: Thu Jul 18 01:01:31 2019 Cross-referenced by PHPXref 0.7.1