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:

Description

Fetches the `custom_css` post for a given theme.

Related Functions

wp_get_custom_css, wp_update_custom_css_post, wp_custom_css_cb, wp_register_custom_classname_support, wp_get_recent_posts

Top Google Results

User discussions

wpseek mobile