Skip to Content

initialization_deactivate_widgets()

Deactivates sidebar widgets.

PHP April 27, 2017

Usage

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

Additional Notes

Deactivates default sidebar widgets on Nebula initialization.

Source File

Located in /libs/Admin/Automation.php on line 397.

No Hooks

This function does not have any filters or actions available. Request one?
PHP
        public function initialization_deactivate_widgets(){
            update_option('sidebars_widgets', array());
        }

Override

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