public static function post_id($stylesheet = '') { $post = self::get_css_post($stylesheet); if ($post instanceof WP_Post) { return $post->ID; } return 0; }