CPT generated code output issues
-
Im trying the option to generate custom taxonomies using the functions created by your plugin.
In my test, the plugin generated the following code:
add_action('init', 'cptui_register_my_taxes_featured'); function cptui_register_my_taxes_featured() { register_taxonomy( 'featured',array ( 0 => 'post', 1 => 'page', ), array( 'hierarchical' => true, 'label' => 'Featured', 'show_ui' => true, 'query_var' => true, 'show_admin_column' => false, 'labels' => array ( 'search_items' => 'Featured', 'popular_items' => '', 'all_items' => '', 'parent_item' => '', 'parent_item_colon' => '', 'edit_item' => '', 'update_item' => '', 'add_new_item' => '', 'new_item_name' => '', 'separate_items_with_commas' => '', 'add_or_remove_items' => '', 'choose_from_most_used' => '', ) ) ); }
The issue im seeing is related to some labels, as shown on the following screenshot:
https://www.dropbox.com/s/sa1h559xzatbenw/Screenshot%202014-10-28%2012.14.57.png?dl=0Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘CPT generated code output issues’ is closed to new replies.