wp_get_custom_css_post


wp_get_custom_css_post ( $stylesheet = '' )

Parameters:
  • (string) $stylesheet Optional. A theme object stylesheet name. Defaults to the current theme.
Returns:
  • (WP_Post|null) The custom_css post or null if none exists.
Defined at:

Description

Fetch the `custom_css` post for a given theme.

Related Functions

wp_get_custom_css, wp_update_custom_css_post, wp_custom_css_cb, wp_get_recent_posts, wp_get_single_post

Top Google Results

User discussions

wpseek mobile