true, ]); } public static function isSupportedPostType($post_type){ return in_array($post_type, static::getSupportedPostTypes()); } }