[ Index ]

PHP Cross Reference of BBPress




/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


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
since: 2.0.0 bbPress (r2957)
return: mixed True if separator, false if not

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

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

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

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

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: Wed Aug 10 01:00:46 2022 Cross-referenced by PHPXref 0.7.1