Description
Outputs a postbox widget on the admin pages
Usage
BW_::oik_box( $class, $id, $title, $callback );Parameters
- $class
- ( string ) optional – additional CSS classes for the postbox
- $id
- ( string ) optional – Unique CSS ID
- $title
- ( string ) optional – Translated title
- $callback
- ( string ) optional default: oik_callback – Callable function implementing the post box contents
Returns
voidSource
File name: oik-bwtrace/libs/class-BW-.phpLines:
1 to 16 of 16
static function oik_box( $class=null, $id=null, $title=null, $callback='oik_callback' ) { if ( $id == null ) { if ( is_array( $callback ) ) { $id = $callback[1]; } else { $id = $callback; } } sdiv( "postbox $class", $id ); self::oik_handlediv( $title ); h3( $title, "hndle" ); sdiv( "inside" ); call_user_func( $callback ); ediv( "inside" ); ediv( "postbox" ); }View on GitHub View on Trac
Called by
1 to 15 of 16
- bw_action_options_do_page() – Settings page for oik actions logging
- bw_trace_options_do_page() – Display the oik trace options page
- oik_buttons_do_page() – Draw the oik buttons page
- oik_css_lazy_oik_menu_box() –
- oik_help_do_page() – Display help information for all the active shortcodes
- oik_lazy_plugins_server_settings() – oik plugins settings page
- oik_lazy_themes_server_settings() – oik themes settings page
- oik_menu() – Display the oik menu page – oik overview
- oik_nivo_options_do_page() – Nivo slider settings page
- oik_options_do_page() – Draw the oik options page
- oik_options_do_page_1() – Draw the oik options-1 page
- oik_privacy_policy_options_do_page() – Display the oik Privacy policy admin page
- Tests_issue_7::tests_oik_box_id_null_callback_function() –
- Tests_issue_7::tests_oik_box_id_null_callback_method() – Until fixed this test will fail This test printed output: Notice: Array to string conversion in C:apachehtdocswordpresswp-contentpluginsoik-bwtracelibsbobbfunc.php on line 289
- Tests_issue_7::tests_oik_box_id_set_callback_method() –
