Plugin CSS unnecessary loaded on front-end site
-
Hello. The file
wp-mcm-styles.css
is loaded on every page request, even when we don’t use the shortcode or use WP MCM in our posts in another way.public function add_frontend_styles() { $this->debugMP( 'msg', __FUNCTION__ . ' started.' ); wp_enqueue_style( 'wp-mcm-styles', WP_MCM_PLUGIN_URL . '/css/wp-mcm-styles.css', array(), WP_MCM_VERSION_NUM . '.1' ); }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Plugin CSS unnecessary loaded on front-end site’ is closed to new replies.