apply_filters ( 'jetpack_implode_frontend_css', bool $do_implode )

Allow CSS to be concatenated into a single jetpack.css file.

Source file: class.jetpack.php

View in GitHub

Parameters

$do_implode

(bool) Should CSS be concatenated? Default to true.


Changelog

Since: Jetpack 3.2.0


Notes

Instead of including a separate CSS file for each Jetpack feature, Jetpack enqueues only one file, built by concatenating all CSS from all Jetpack features. This limit the number of requests made when loading a site.

To deactivate this, you can use the following snippet:

add_filter( 'jetpack_implode_frontend_css', '__return_false', 99 );

Have a note to contribute?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s