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

Parameters

null

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


Changelog

Since: Jetpack 3.8.1


Notes

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 )

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