Skip to Content

default_data()

Prepare default data values.

PHP June 20, 2017

Usage

This function runs automatically, so it is not called manually. Is this incorrect?

Source File

Located in /libs/Options/Options.php on line 143.

No Hooks

This function does not have any filters or actions available. Request one?
PHP
        public function default_data(){
            $nebula_data_defaults = array(
                'first_activation' => '',
                'initialized' => '',
                'defaults_created' => time(),
                'first_version' => '',
                'scss_last_processed' => 0,
                'next_version' => '',
                'current_version' => $this->version('raw'),
                'current_version_date' => $this->version('date'),
                'num_theme_updates' => 0,
                'last_automated_update_date' => '',
                'last_automated_update_user' => '',
                'version_legacy' => 'false',
                'users_status' => '',
                'check_new_options' => 'false',
                'need_sass_compile' => 'false',
            );
            return $nebula_data_defaults;
        }

Override

This function can not be short-circuited with an override filter. Request one?