You appear to be a bot. Output may be restricted
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