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