You have passed incorrect name($_POST key) in the function. Please use below code for saving the taxonomy:
wp_set_post_terms($post_id,array($_POST['cat_servicios']),'categorias_servicios',true);
You passed cat-servicios instead of cat_servicios
Thanks.
Related Posts:
- How to filter post data with AJAX on page?
- Ajax filter with custom taxonomies
- Filter posts with ajax form and checkboxes
- Filter custom post type archive page with custom taxonomies (categories) with AJAX
- Received nothing after executing AJAX post function
- Filtering WP_Query Dynamically on the Front-End
- Why get_posts() not returning only selected category posts from Custom Post Type?
- Loading custom content type from ajax results?
- Ajax Custom Post Filter is not filtering
- WP_Query inside foreach loop returning same value for all options when filtered using ajax
- Custom post type editor with dynamic selects, one drop down populating a second second drop down not working
- Load Custom_post_type categories post with ajax
- Retrieve custom post types by custom taxonomies with WP_Query
- Custom post type’s extra fields – how to handle?
- filter by custom taxonomy using ajax
- How to display custom post type pagination buttons when processing AJAX request
- Show ajax form resuslts in page
- Dropwdown: Get taxonomy terms from posts that share preselected terms from 3 other taxonomies
- Ajax load more inside custom post type taxonomy
- Custom filtering on month value only of an entire date field
- update custom taxonomy with Ajax in edit.php file [duplicate]
- How to filter custom post data with AJAX?
- How to get all taxonomies of a post type?
- Permalinks: custom post type -> custom taxonomy -> post
- How to Add Tags to Custom Post Type?
- Mixing custom post type and taxonomy rewrite structures?
- Can multiple custom post types share a custom taxonomy?
- How to Add Custom Fields to a Custom Post Type?
- Efficient Taxonomy Intersection
- Display current taxonomy term when inside custom post type
- limit selection of custom taxonomies to one?
- $wp_query->queried_object->ID throws warning: Undefined property
- Extend walker class with custom post types [closed]
- Custom permalinks – post type – hierarchical taxonomy’s
- Taxonomy posts on Archive page
- Taxonomy list. Order by a specific custom post type count
- Rewrite CPT slug with two taxonomy slug instead of one
- Archive or taxonomy pages not working for custom post type
- Custom Taxonomy returns no posts
- Display taxonomy term only if there’s a value
- Custom content type meta_box_cb does not run
- Building an Advanced Search (text, tags, category, custom fields) – Getting the wrong SQL query
- Custom Taxonomy breaking pages permalinks
- Custom post types and permalinks
- Get categories and descriptions from custom post type
- Problem with custom post types, taxonomy and permalinks
- How to create new category for custom post type?
- Fetch taxonomies by custom post type id array
- How to retrieve category NAME instead of ID in a function with a taxonomy custom field?
- Repeating posts when paginating random posts
- Normal pages as children of my Custom Post Type
- Custom post type and taxonomy slug issue
- Remove url rewrites for registered taxonomies
- How can I auto-assign a CPT post to category in a custom taxonomy when published?
- Mapping Subdomains in WordPress to give the appearance of a localised site, best approach?
- Group CPT posts by custom taxonomy
- Metabox not show in categories custom post type cmb2
- Categorize custom post type
- Custom Permalink Structure for Custom Post Type, Custom Taxonomy, Under a page
- WP-API select custom taxonomy when creating a post
- List of Posts and Categories
- Invalid argument supplied in register_taxonomy $args->taxonomies
- How to display Related Posts based on number of taxonomy terms matched
- How to solve this custom post type goes to 404 page?
- Get term name without a foreach loop
- How to Set Taxonomy Object Description?
- Add term list as class
- Taxonomy archive 404ing (not term archive)
- Variable not working in WP_Query
- Alphabetically sort a taxonomy.php template by post title
- Show Taxonomies with admin area for custom post type?
- WordPress notification if new post published
- Widget Categories shows “No categories”
- get_terms() parent, child and grandchild
- Getting custom taxonomy posts on archive page
- Multi Parameter search with custom post type category and tag
- How to display custom taxonomy term specific post?
- Get taxonomy name used in a current post
- Custom Taxonomy Archive generates 404
- How to create a permalink structure with custom taxonomies and custom post types
- Support for author does not show author column in post table in dashboard
- Force WordPress to only match URL in category
- Hierarchical taxonomy in permalink structure
- Can I create a taxonomy term that mirrors the name of a new custom post?
- Rewrite for custom type and custom taxonomy
- How to create TEMPLATES for TAXONOMIES? What I have to change in this code?
- Custom Post Status & Taxonomies
- WordPress custom post type
- How to have working breadcrumbs with several taxonomies associated with a custom post type
- Show Custom Post Type taxonomy term that matches custom field
- Sort custom post type items by taxonomy description
- How to Display Custom Taxonomies in an Un-ordered HTML List
- link posts to custom post type
- how do I create a breadcrumb to work with multiple custom taxonomies
- Most appropriate way to display CPT’s by children terms of custom taxonomies while retaining desired permalink structure?
- Navigation won’t update to show full path to single post
- the_post_navigation in single page with multiple taxonomies
- Url rewrite with custom post type and taxonomy
- Custom Sort Order for Custom Post Type Taxonomy
- Load posts via AJAX without draft status