Skip to Content


Initializes Nebula WordPress settings.

PHP April 27, 2017


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

Additional Notes

This function is called when clicking the initialize links after activating the Nebula theme and subsequently calls several other initialization functions.

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/Admin/Automation.php on line 292.

    No Hooks

    This function does not have any filters or actions available. Request one?
            public function initialization(){
                if ( current_user_can('manage_options') ){
                    $this->timer('Full Initialization');
                    $this->add_log('Theme settings have been re-initialized.', 7);
                    if ( !$this->get_data('initialized') ){
                        $this->update_data('initialized', time());
                    $activated_child = $this->initialization_activate_child_theme();
                    $this->scss_controller(true); //Re-render all SCSS files.
                    if ( $activated_child ){
                        wp_redirect(admin_url('/themes.php?initialization-success'), 301); //Redirect to show new theme activated
                    $this->timer('Full Initialization', 'end');


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