[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/includes/admin/ -> common.php (summary)

bbPress Admin Functions

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

Defines 6 functions

  bbp_admin_separator()
  bbp_admin_custom_menu_order()
  bbp_admin_menu_order()
  bbp_sanitize_slug()
  bbp_do_uninstall()
  bbp_tools_modify_menu_highlight()

Functions
Functions that are not part of a class:

bbp_admin_separator()   X-Ref
Add a separator to the WordPress admin menus

since: 2.0.0 bbPress (r2957)

bbp_admin_custom_menu_order( $menu_order = false )   X-Ref
Tell WordPress we have a custom menu order

param: bool $menu_order Menu order
return: mixed True if separator, false if not
since: 2.0.0 bbPress (r2957)

bbp_admin_menu_order( $menu_order )   X-Ref
Move our custom separator above our custom post types

param: array $menu_order Menu Order
return: array Modified menu order
since: 2.0.0 bbPress (r2957)

bbp_sanitize_slug( $slug = '' )   X-Ref
Sanitize permalink slugs when saving the settings page.

param: string $slug
return: string
since: 2.6.0 bbPress (r5364)

bbp_do_uninstall( $site_id = 0 )   X-Ref
Uninstall all bbPress options and capabilities from a specific site.

param: int $site_id
since: 2.1.0 bbPress (r3765)

bbp_tools_modify_menu_highlight()   X-Ref
This tells WP to highlight the Tools > Forums menu item,
regardless of which actual bbPress Tools screen we are on.

The conditional prevents the override when the user is viewing settings or
any third-party plugins.

since: 2.1.0 bbPress (r3888)



Generated: Fri Apr 26 01:01:04 2024 Cross-referenced by PHPXref 0.7.1