Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

woocommerce product_cat apply to custom post type

add_action( 'init', 'add_product_cat_to_custom_post_type' );
function add_product_cat_to_custom_post_type() {
    register_taxonomy_for_object_type( 'product_cat', 'custom_post_type' );
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #woocommerce #apply #custom #post #type
ADD COMMENT
Topic
Name
6+4 =