public static function are_there_css_revisions($stylesheet = '') { $post = wp_get_custom_css_post($stylesheet); if (empty($post)) { return $post; } return (bool) wp_get_post_revisions($post); }