apply_filters ( 'jetpack_custom_css_pre_post_id', null null )

Filter the ID of the post where Custom CSS is stored, before the ID is retrieved.<p>If the callback function returns a non-null value, then post_id() will immediately return that value, instead of retrieving the normal post ID.</p>

Source file: modules/custom-css/custom-css.php

View in GitHub



(null) null The ID to return instead of the normal ID.


Since: Jetpack 3.8.1


Have a note to contribute?

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

You are commenting using your 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