Function cmb2_get_metabox
Retrieve a CMB2 instance by the metabox ID
Package: CMB2
License: GPL-2.0+
Author: CMB2 team
Since: 2.0.0
Located at includes/helper-functions.php
License: GPL-2.0+
Author: CMB2 team
Since: 2.0.0
Located at includes/helper-functions.php
Parameters summary
mixed |
$meta_box |
Metabox ID or Metabox config array. |
integer|string |
$object_id = 0 |
Object ID (string for options-page). |
string |
$object_type = '' |
<p>Type of object being saved. (e.g., post, user, term, comment, or options-page). Defaults to metabox object type.</p> |
Return value summary
|
object |