Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $args = apply_filters( 'wpas_ticket_type_args', array(
- 'labels' => $labels,
- 'taxonomies' => array('product'),
- 'public' => true,
- 'exclude_from_search' => true,
- 'publicly_queryable' => true,
- 'show_ui' => true,
- 'show_in_menu' => true,
- 'query_var' => true,
- 'rewrite' => array( 'slug' => apply_filters( 'wpas_rewrite_slug', $slug ), 'with_front' => false ),
- 'capability_type' => 'view_ticket',
- 'capabilities' => $cap,
- 'has_archive' => true,
- 'hierarchical' => false,
- 'public' => true,
- 'menu_position' => null,
- 'menu_icon' => $icon,
- 'supports' => $supports,
- 'taxonomies' => array(),
- 'template' => $gutenburg_new_template
- ) );
- register_post_type( 'ticket', $args );
- 'taxonomies'=> array('category') but how can I exclude post tag as shown above image?
Add Comment
Please, Sign In to add comment