Learndash_WooCommerce::add_product_type( $types )
Add product type.
Description #
Parameters #
-
(<span class="arrayarray<string,) (Required) string> $types Array of custom post types.
Return #
(array<string,) string> Array of custom post types.
Source #
File: includes/woocommerce/includes/class-learndash-woocommerce.php
Changelog #
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |