Function cmb2_get_field_value
Get a field's value.
Package: CMB2
License: GPL-2.0+
Author: CMB2 team
Since: 1.1.0
Located at includes/helper-functions.php
License: GPL-2.0+
Author: CMB2 team
Since: 1.1.0
Located at includes/helper-functions.php
Parameters summary
array |
$meta_box |
Metabox ID or Metabox config array. |
array |
$field_id |
Field ID or all field arguments. |
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
mixed
|
Maybe escaped value |