You appear to be a bot. Output may be restricted
Description
Implement "oik_admin_menu" action for oik-clone
Usage
oik_clone_lazy_admin_page();
Parameters
Returns
voidTO DO
decide where we add the actions to register the responses to oik_clone_nav_tab_$tab It's NOT in the loaded files, but how would an extension plugin work?Source
File name: oik-clone/admin/oik-clone.phpLines:
1 to 16 of 16
function oik_clone_lazy_admin_page() { add_filter( "bw_nav_tabs_oik_clone", "oik_clone_nav_tabs", 10, 2); // Don't add this here - it's already added //add_action( "oik_clone_nav_tab_self", "oik_clone_nav_tab_self" ); if ( is_multisite() ) { add_action( "oik_clone_nav_tab_ms", "oik_clone_nav_tab_ms" ); } oik_menu_header( "Clone admin", "w100pc" ); oik_require( "includes/bw-nav-tab.php" ); //$tab = bw_nav_tabs( "self", "Self" ); $tab = bw_nav_tabs( "servers", "Settings" ); //e( "%$tab%" ); //oik_clone_reset_request_uri(); do_action( "oik_clone_nav_tab_$tab" ); bw_flush(); }View on GitHub