Usage
PHP
nebula()->get_data($option)
Parameters
$option
(Required) (String) The data to retrieve
Default: None
Additional Notes
This is used for data stored outside of Nebula Options. It is also stored in an array.
Source File
Located in /libs/Options/Options.php on line 78.
No Hooks
This function does not have any filters or actions available. Request one?
PHP
public function get_data($option){ $nebula_data = get_option('nebula_data'); if ( empty($nebula_data[$option]) ){ return false; } return $nebula_data[$option]; }
Override
This function can not be short-circuited with an override filter. Request one?