Did you try explicitly setting the term array?
And set append
to true?
$terms = array( 35, 36 );
wp_set_post_terms( $this->postId, $terms, "my_tax", true );
Related Posts:
- Get term name from term ID?
- Contact Form 7 – Populate Select List With Taxonomy [closed]
- Can custom taxonomies be displayed inside of a custom meta box?
- Front End Post Save Child terms
- Display child taxonomy until the last child
- URL rewrite rules for multiple taxonomies query
- Best practices for complex taxonomies
- wp_get_object_terms – How can I order the resulting array by hierarchy?
- Page queried instead of a custom taxonomy
- Pros and cons of using [taxonomy name] in place of [category name]?
- How to display and use all existing tags at my write-post-at-frontend-panel?
- How to use create_term, edit_term, delete_term actions?
- drop-down list another query
- Echo taxonomy term meta on author.php
- Hierarchical display of custom taxonomy
- custom taxonomy archive permalink shows 404 error
- is there any limit of length on creating custom taxonomies?
- custom post type category page
- Advanced custom fields – taxonomy terms images [closed]
- Is It Possible To Have Shared WordPress Custom Post Types?
- Taxonomies: display hierarchical parent list
- WPML Translating a term/taxonomy programmatically
- Display an image instead of tag name?
- How can I conditionally change the title of a taxonomy meta box?
- meta_key & meta_value not working with get_pages and custom taxonomy
- Custom fields ‘for’ custom taxonomy?? Can someone explain why?
- Display Custom Post Type Taxonomy Child Categories and their Posts
- List taxonomies according to whether this post is in another taxonomy in taxonomy archive
- Taxonomy template shows only 10 posts
- Pagination on custom taxonomy
- Register a pre defined tree of taxonomies
- Disabling wp_tag_cloud() outputting inline CSS
- Add multiple taxonomy filters to edit.php that support search
- How to show all possible parents and children of a hierarchical taxonomy term?
- Extend & Search Native WordPress Image Galleries With Tags and Taxonomies?
- A way to query custom taxonomies by name
- Custom Taxonomy index/archive hierarchy
- Custom Taxonomy
- How to use taxonomy term as a value of get_template_part?
- Hierarchical Taxonomy Terms Select Menu Output with selected=”selected” Set
- Sorting Custom Posts on Archive page with pagination
- Removing “s” from search with custom parameters
- How to change url for taxonomy pages?
- Search Query for Multiple Terms In Same Taxonomy
- How to Modify Default Text in a Custom Taxonomy Admin Panel?
- Take a custom taxonomy value and save as a standard Product Tag
- Check If Taxonomy A and Taxonomy B has same Slug, 301 Auto Redirect Tax A to Tax B if True in WordPress
- Why isn’t the ‘no results’ being shown when a query returns no results?
- How to get_the_term_list() from multiple taxonomies?
- wp_dropdown_categories – how to save in widget?
- Loop to display ONLY custom taxonomy parent information [closed]
- echo a specific custom taxonomy term on a different custom taxonomy archive
- How to get custom post type categories in an array
- WordPress modify Settings > Permalinks (options-permalink.php) Add CPT Permalink Options
- list custom taxonomy with count
- Custom Taxonomy List with Children
- Displaying Posts Attached to Custom Taxonomy Terms
- Update Post Taxonomy Automatically Based On Date
- saving custom taxonomy as post title
- Taxonomy list links to first post in that term
- Page for custom taxonomy
- Extra Meta Data for WordPress Multisite Taxonomy
- Automatically tag posts based on user-defined words [closed]
- Problem with sorting in custom child taxonomy archive page
- Check if any available product has specific attribute
- Tax-query on taxonomy doesn´t work
- How to Create taxonomy using ‘null’ for $object_type?
- how can i add more than one custom taxonomy?
- Query Multiple Taxonomies and Multiple Terms with Different Operators
- List all taxonomies with their descriptions
- ACF Field, hide taxonomy title and image when no nothing selected in post
- Custom rewrite url structure for several custom taxonomy (NOT pos_type)
- How to pass posts_per_page and paged params query vars to custom taxonomy archive urls?
- Country-specific content
- Echo custom taxonomy values
- Print Custom Taxonomy Term Name
- is_tax is failing me and can’t figure out the solution
- Product dimensions filter by taxonomy
- How can I pull the slug of a custom taxonomy and output it in a class?
- Get user created Woocommerce attributes ( taxonomies ) [closed]
- Custom taxonomy escaping html attr
- Showing list of custom posts of a custom taxonomy
- Multisite custom taxonomy archive issues
- Show portfolio category slug in url ( if exist)
- Taxonomies, Adanced Custom Fields and Repeatable Fields
- Debugging Missing Elements in Taxonomy
- Producing a list of media library items categorized under a certain taxonomy item
- Custom taxonomy displayed in search results
- Use custom field as tag slug
- How To Display Selected Terms For Custom Taxonomy?
- Custom taxonomy subcategories template page
- Adding a query var to taxonomy term archive – gets redirected to the other taxonomy archive page
- displaying links if term is used
- List child terms and posts in the current term
- $term->taxonomy stripping out underscores
- Custom Taxonomy, shows empty value (home page of website)
- Custom taxonomy archive templates not found
- Get taxonomy image for Toolset custom taxonomy through Toolset Views Shortcode
- Two taxonomies with the same slug
- Hook function when taxonomy terms change