Skip to Content
Menu

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.

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 423.

    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?