bp_core_admin_help_sub_menu_before_callback( $directories, $times, $docs_path, $level_hide, $show_as_heading )
Add Help Menu
Description
Parameters
- $directories
-
(Required)
- $times
-
(Required)
- $docs_path
-
(Required)
- $level_hide
-
(Required)
- $show_as_heading
-
(Required)
Source
File: bp-core/admin/bp-core-admin-help.php
function bp_core_admin_help_sub_menu_before_callback( $directories, $times, $docs_path, $level_hide, $show_as_heading ) { if ( 1 == $times ) { $url = bp_get_admin_url( add_query_arg( array( 'page' => 'bp-help' ), 'admin.php' ) ); printf( '<li class="main"><a href="%s" class="dir">%s</a></li>', $url, __( 'Docs', 'buddyboss' ) ); } }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.