Metabox
Admin Metabox Class.
Namespace: WebberZone\Top_Ten\Admin
Since: 3.3.0
Source: includes/admin/class-metabox.php line 22
Methods
__construct()
Constructor class.
Since: 3.3.0
Line: 29
public function __construct( );
add_meta_box() static
Function to add meta box in Write screens.
Since: 1.9.10
Line: 43
static public function add_meta_box( $post_type );
| Type | Name | Description |
|---|---|---|
string | $post_type | Post type. |
call_meta_box() static
Function to call the meta box.
Since: 1.9.10
Line: 100
static public function call_meta_box( );
save_meta_box() static
Function to save the meta box.
Since: 1.9.10
Line: 183
static public function save_meta_box( $post_id );
| Type | Name | Description |
|---|---|---|
int | $post_id | Post ID. |
admin_enqueue_scripts()
Enqueue scripts and styles for the meta box.
Since: 4.0.0
Line: 264
public function admin_enqueue_scripts( );