Function cmb2_get_option
A helper function to get an option from a CMB2 options array
Package: CMB2
License: GPL-2.0+
Author: CMB2 team
Since: 1.0.1
Located at includes/helper-functions.php
License: GPL-2.0+
Author: CMB2 team
Since: 1.0.1
Located at includes/helper-functions.php
Parameters summary
string |
$option_key |
Option key. |
string |
$field_id = '' |
Option array field key. |
mixed |
$default = false |
Optional default fallback value. |
Return value summary
array
|
Options array or specific field |