Init::reload_page_on_toggle( string $old_value, string $value )
Reloads the page when the option is toggled to make sure all nav features are loaded.
Description Description
Parameters Parameters
- $old_value
-
(Required) Old value.
- $value
-
(Required) New value.
Source Source
File: packages/woocommerce-admin/src/Features/Navigation/Init.php