Guest User

Untitled

a guest
Jun 19th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. $args = apply_filters( 'wpas_ticket_type_args', array(
  2. 'labels' => $labels,
  3. 'taxonomies' => array('product'),
  4. 'public' => true,
  5. 'exclude_from_search' => true,
  6. 'publicly_queryable' => true,
  7. 'show_ui' => true,
  8. 'show_in_menu' => true,
  9. 'query_var' => true,
  10. 'rewrite' => array( 'slug' => apply_filters( 'wpas_rewrite_slug', $slug ), 'with_front' => false ),
  11. 'capability_type' => 'view_ticket',
  12. 'capabilities' => $cap,
  13. 'has_archive' => true,
  14. 'hierarchical' => false,
  15. 'public' => true,
  16. 'menu_position' => null,
  17. 'menu_icon' => $icon,
  18. 'supports' => $supports,
  19. 'taxonomies' => array(),
  20. 'template' => $gutenburg_new_template
  21. ) );
  22.  
  23. register_post_type( 'ticket', $args );
  24.  
  25. 'taxonomies'=> array('category') but how can I exclude post tag as shown above image?
Add Comment
Please, Sign In to add comment