Usage
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.
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?
PHP
public function initialization(){ if ( current_user_can('manage_options') ){ $this->timer('Full Initialization'); $this->usage('initialization'); $this->add_log('Theme settings have been re-initialized.', 7); $this->full_automation(); $this->initialization_email_prev_settings(); 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'); } }
Override
This function can not be short-circuited with an override filter. Request one?