You can add the following hooks in your code to add it to event-category custom taxonomy.
add_action('event-category_edit_form_fields','extra_category_fields');
add_action('event-category_add_form_fields','extra_category_fields');
Related Posts:
- WP Query group/order by category name
- How to change post featured image using a custom field of category?
- Hierarchy and access control for Custom Post Types (CPT)
- Cross reference custom post types
- Targeting categories in custom fields
- Custom post types category
- Automatic Set Category For A Custom Post Type
- Category display using conditions
- Why is my select meta data not saving?
- Categories sorting
- How can I make my custom posts appear in their assigned category url?
- How to call in Custom Post-Type Categories?
- Allow user to set custom order to a list of custom taxonomies?
- get_category_parents for custom post type taxonomy
- dynamically add a custom field or metabox to custom post type [duplicate]
- Give a permalink to Custom Post Types without title
- Role scoping for contributors down to the field level
- How to implement a Google map store locator
- Creating a Custom Post as a repository for theme constants
- Separate custom categories from default category
- search also in taxonomy, tags and custom fields
- forming WP_Query for posts of all post types but from specific categories
- wp_list_categories() – current-cat class also inside posts?
- Random image from tag/custom type on sidebar
- Showing posts from different categories and from custom post type
- How to stick custom post at the top in search results
- Custom post type getting wrong categories and tags
- How do I create custom fields for multiple post types?
- Add field to all custom post types
- Categories of custom taxonomy don’t show any posts
- How to display custom taxonomies with links in filter menu?
- Query & Order posts by custom fields
- Filter custom posts using auto populated dropdown selectors
- Show a Category X’s custom post type on Category X archive page?
- How do I associate a custom post type with another through a taxonomy or storing an ID in a custom field?
- Custom post type content using custom fields without template
- Cannot add custom field to “orderby” parameter in Rest API
- What is the recommended / best way to do this: Event calendar post/type in a block-based theme?
- retrieve Meta field value from CPT and set those values as Image Meta Field “Title”
- Having unique constraints for custom fields in a custom post type
- PHP variable not regenerating when publishing multiple posts at the same time
- Querying Two Custom Post Types with OR Not Working
- How can I get the number of custom post type posts that have a specific attachment image set?
- Trash / Draft a WordPress custom post after custom date field expires
- Set a maxlength for the title input in a custom post type
- Posting to a Custom Post Type from front end – user generated content
- Display custom fields from custom posts in RSS feed
- Bulk Update Custom Fields for Custom Post Types
- How can I use get_post_meta with add_rewrite_rule to build custom permalinks?
- Visual editor issue by having multiple tiny mce editors in a CPT
- Multiple level category drop-down from the WordPress dashboard
- WordPress Custom Fields Won’t Save
- Update Post Meta for a logged in user
- Problem querying Custom post type by custom fields
- Found 2 elements with non-unique id (#_ajax_nonce) and (#_wpnonce)
- Cannot add category or custom taxonomy from admin. WordPress site is hosted in Windows 16 server via IIS. No XAMPP or WAMP
- Add custom field to Posts and sort by it
- Orderby CPT custom fields not working
- Add custom post type settings to wordress default posts
- WP_Query order by custom field, then randomly order some of results
- A better way to add a meta box to custom post types
- Rows with custom columns not well formatted after Quick Edit save
- Hide parent categories when clicked, and show it’s childs
- Plugin – Combine Meta Box Input Fields into single saveble record
- Two Custom Post Types Many to Many Relationship
- Limit amount of posts made within a custom taxonomy
- Problem with displaying posts in the CPT category
- Show custom post type relationships by taxonomy
- get_post_meta not working on publishing
- Filter CPT posts by one or more categories
- Getting categories of posts under a custom taxonomy
- Query custom post type with ACF Date
- Custom setting to show or hide field
- Custom Post Types with a common category for a blog listing
- Custom Meta Field – Remove comma from string with str_replace
- Can’t remove front from permalinks for custom taxonomy category page
- Store CPT ‘Reviews’ average ratings to a WordPress DB table or to a DB custom table?
- How to get categories linked in posts for a specific post type
- Using custom field content as expression in IF statement [closed]
- Meta Query Not Returning Output Despite Having Matching Values
- How to create a custom post type with additional fields?
- Callback to custom field is not working in WordPress REST API
- Meta Query Filtering not working on Custom Meta Box using Radio Buttons
- Including metaboxes from custom post types in global search — continued
- Custom post type, organized by categories
- How to display “Category and Post_tag” component in a CPT Gutenberg edit screen?
- ACF From & To Date Validations
- How do I set all of a particular post meta to a value within the custom post type I’m in?
- Query Multiple Custom Posts by Custom Fields
- Show image gallery from a custom field
- Using advanced custom fields from one custom post type in another custom post type / using nested shortcodes
- Dynamic dropdown select values depending on other custom field value
- How to render a custom post type template with custom fields using shortcode
- Disable saving posts as draft (make all posts mandatory regardless of the post status)
- Grouping metadatas into one
- Remove CPT name from permalink but add %category% instead
- Tracking changes in admin-page so user gets warning when leaving the page
- filter custom post in rest api with custom function
- Get Posts by multiple custom fields is not working
- Set a checkmark in a category based on a URL-parameter