These assets are actually required for the shortcode SSO button to work properly, which can be used on the frontend. I wasn’t going to utilize this feature, so I just removed the action that enqueued the assets in my theme’s functions.php
file:
if (function_exists('plugin_settings_style_widget')) {
remove_action('wp_enqueue_scripts', 'plugin_settings_style_widget');
}
if (function_exists('plugin_settings_script_widget')) {
remove_action('wp_enqueue_scripts', 'plugin_settings_script_widget');
}
-
This reply was modified 8 years, 4 months ago by jakebellacera. Reason: clarified that the code should go into the functions.php