Skip to Content
Menu

default_data()

Prepare default data values.

PHP June 20, 2017

Usage

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

Was this page helpful? Yes No


    A feedback message is required to submit this form.


    Please check that you have entered a valid email address.

    Enter your email address if you would like a response.

    Thank you for your feedback!

    Source File

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

    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' => '',
                    '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?