PHP Class WPDKMetaBoxView

Author: =undo= ([email protected])
Inheritance: extends WPDKView
Datei anzeigen Open project: wpxtreme/wpdk Class Usage Examples

Public Methods

Method Description
__construct ( string $id, string $title, string | object $screen = null, string $context = WPDKMetaBoxContext::ADVANCED, string $priority = WPDKMetaBoxPriority::NORMAL, mixed $callback_args = null ) : WPDKMetaBoxView Create an instance of WPDKMetaBoxView class

Method Details

__construct() public method

Create an instance of WPDKMetaBoxView class
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