Find out more latest movies news with us.

Find out more latest movies news with us.
Find out more latest movies news with us.

Thursday 7 December 2017

How to add custom post type to WooCommerce

you can add below hook to add new custom post type:


add_action( 'init', 'create_post_for_pro' );
   function create_post_for_pro() {
 register_post_type( 'meal',array());
} 

No comments:

Post a Comment

Most Viewable Posts

Reipe For Chicken

 Hello Friends, We are here to let you about the recipe for chicken. In your busy daily life, you need a guide to cook recipes that you can ...