WC_Meta_Box_Product_Data::get_product_type_options()
Return array of product type options.
{} It's a method of the class: WC_Meta_Box_Product_Data{}
Hooks from the method
Return
Array
.
Usage
$result = WC_Meta_Box_Product_Data::get_product_type_options();
Code of WC_Meta_Box_Product_Data::get_product_type_options() WC Meta Box Product Data::get product type options WC 6.7.0
private static function get_product_type_options() { return apply_filters( 'product_type_options', array( 'virtual' => array( 'id' => '_virtual', 'wrapper_class' => 'show_if_simple', 'label' => __( 'Virtual', 'woocommerce' ), 'description' => __( 'Virtual products are intangible and are not shipped.', 'woocommerce' ), 'default' => 'no', ), 'downloadable' => array( 'id' => '_downloadable', 'wrapper_class' => 'show_if_simple', 'label' => __( 'Downloadable', 'woocommerce' ), 'description' => __( 'Downloadable products give access to a file upon purchase.', 'woocommerce' ), 'default' => 'no', ), ) ); }