You appear to be a bot. Output may be restricted
Description
Outputs a postbox widget on the admin pages
Usage
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 – Translatable title
- $callback
- ( string ) optional default: oik_callback – Callable function implementing the post box contents
Returns
voidSource
File name: oik/libs/oik-admin.phpLines:
1 to 13 of 13
function oik_box( $class=null, $id=null, $title=null, $callback='oik_callback' ) { $title = bw_translate( $title ); if ( $id == null ) { $id = $callback; } sdiv( "postbox $class", $id ); oik_handlediv( $title ); h3( $title, "hndle" ); sdiv( "inside" ); call_user_func( $callback ); ediv( "inside" ); ediv( "postbox" ); }View on GitHub View on Trac