wp_get_custom_css_post
wp_get_custom_css_post ( $stylesheet = '' )
Parameters:- (string) stylesheet Optional. A theme object stylesheet name. Defaults to the active theme.
Returns:- (WP_Post|null) The custom_css post or null if none exists.
Defined at: - Introduced in WordPress: 4.7.0
- Deprecated in WordPress: —
Description
Fetches the `custom_css` post for a given theme.