You appear to be a bot. Output may be restricted
Description
Implement the 'init' actionstart oik and let oik dependent plugins know it's OK to use the oik API
Usage
oik_main_init();
Parameters
Returns
voidSource
File name: oik/oik.phpLines:
1 to 24 of 24
function oik_main_init() { add_action( 'admin_menu', 'oik_admin_menu' ); add_action( 'network_admin_menu', "oik_network_admin_menu" ); add_action( "network_admin_notices", "oik_network_admin_menu" ); add_action( "admin_bar_menu", "oik_admin_bar_menu", 20 ); add_action( 'login_head', 'oik_login_head'); add_action( 'admin_notices', "oik_admin_notices", 9 ); add_action( "oik_add_shortcodes", "bw_oik_add_shortcodes" ); add_filter( "_sc__help", "oik_oik_sc__help", 10, 2 ); $bobbfunc = oik_require_lib_wrapper( "bobbfunc" ); if ( $bobbfunc && !is_wp_error( $bobbfunc ) ) { bw_load_plugin_textdomain(); /** * Tell plugins that oik has been loaded. * * This allows plugins which are dependent upon oik to start using the oik APIs * It doesn't mean that all the APIs are available. */ do_action( 'oik_loaded' ); } else { bw_trace2( $bobbfunc, "bobbfunc?", false, BW_TRACE_ERROR ); } }View on GitHub View on Trac