Requirements:

Usage

Import the namespaced function:

Place at the top of your themes functions.php file.

usefunction\Sober\Intervention\intervention;if (function_exists('\Sober\Intervention\intervention')) {// now you can use the function to call the required modules and their params intervention('remove-menu-items', 'plugins', 'all');}