You appear to be a bot. Output may be restricted
Description
Implement "bw_nav_tabs_oik_clone" filter for oik-cloneReturn the nav tabs supported by oik-clone
Usage
oik_clone_servers_sections( $nav_tabs_sections, $page, $tab );
Parameters
- $nav_tabs_sections
- ( mixed ) required –
- $page
- ( mixed ) required –
- $tab
- ( mixed ) required –
Returns
voidTO DO
the filter functions should check global $pagenow before adding any tabs – to support multiple pages using this logicTO DO
support 'section' – like WooCommerce – So that the Authentication area for WP-API is simplerSource
File name: oik-clone/admin/oik-clone-servers.phpLines:
1 to 6 of 6
function oik_clone_servers_sections( $nav_tabs_sections, $page, $tab ) { $nav_tabs_sections['basic'] = __( "Basic", "oik-clone" ); $nav_tabs_sections['advanced'] = __( "Advanced", "oik-clone" ); bw_trace2( $nav_tabs_sections, "nav_tabs_sections" ); return( $nav_tabs_sections ); }View on GitHub