public __construct ( string $id, string $title, string | object $screen = null, string $context = WPDKMetaBoxContext::ADVANCED, string $priority = WPDKMetaBoxPriority::NORMAL, mixed $callback_args = null ) : WPDKMetaBoxView |
$id |
string |
String for use in the 'id' attribute of tags. |
$title |
string |
Title of the meta box. |
$screen |
string | object |
Optional. The screen on which to show the box (post, page, link). Defaults to current screen. |
$context |
string |
Optional. The context within the page where the boxes should show ('normal', 'advanced'). |
$priority |
string |
Optional. The priority within the context where the boxes should show ('high', 'low'). * |
$callback_args |
mixed |
Optional. Callable args. |
return |
WPDKMetaBoxView |
|