You actually correctly assigned the tag to the post, but the taxonomy is pets_tag, so you shouldn’t use get_the_tags() which is for the default post_tag taxonomy.
Instead, you should use get_the_terms() to get the pets_tag terms assigned to the post:
$terms = get_the_terms( 3356, 'pets_tag' );
Related Posts:
- How to get all taxonomies of a post type?
- Renaming Custom Post Types and Taxonomies
- get_terms by custom post type
- How to change permalink structure for custom post type and it’s taxonomies?
- Get the first post term
- Creating “static” taxonomies to choose from, inside custom post type?
- How do I dynamically populate wp_nav_menu from a custom taxonomy?
- How do I list custom taxonomy terms without the links?
- How to list custom taxonomy categories?
- Custom Taxonomy Template Post List with Sort Order
- Order Posts by Taxonomy and Meta Value
- Taxonomy page returns 404 page not found
- It is possible to get a list of post types asociated to a taxonomy?
- display multiple term post from taxonomy in a single page
- How can you make permalink work for custom post type and taxonomy?
- Group Custom post type in a page by its taxomony tag
- How do I list terms of a custom taxonomy at i.e. domain.com/brands/
- Same base slug for CPT post and CPT taxonomy terms
- wp_insert_post custom taxonomy
- Taxonomy-{taxnonomy}.php is not working
- Display taxonomy term only if there’s a value
- Get list of terms of current taxonomy archive for another taxonomy
- Post Link Filter Help [closed]
- Show Post Count of a Category
- Menu Multiple Taxonomies
- How to make a custom taxonomy selectable in post publish area?
- 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
- Create Custom Post Type Permalink Structure
- Custom page template for category taxonomy
- How can I display an archive of only one category of my custom post type?
- Why does querying on post_tags (which has been applied to custom post types) only return posts?
- Order By Post Type ThenBy Taxonomy
- How to show CPTs in term archive
- Custom query to filter posts that have current post as a taxonomy [closed]
- How do I get array of types associated with a taxonomy?
- wp_set_object_terms() not adding new term to custom post and custom taxonomy
- Display all posts in main category and 1 subcategory
- Show category ID on custom post type
- wp_get_post_terms on custom post type with custom taxonomies returning an empty array
- Categories of custom taxonomy don’t show any posts
- Is it possible to have dedicated page for parent/child taxonomy?
- Why are taxonomy terms not saving when using custom meta boxes with radio button taxonomy selectors?
- Display a grid of taxonomy terms at root taxonomy page
- limit value taxonomy based on previous taxonomy value wordpress
- Using meta_query and tax_query at the same time
- How to make custom taxonomy into drop down select in a custom metabox
- Display latest x posts from all categories in Custom Post Type/Taxonomy
- Unable to link categories to custom post type using standard function
- Enable taxonomies by post type in an array of CPTs
- Custom Taxonomy Is Being Pulled into a Page, But It Doesn’t Have A Hyperlink
- Querying two taxonomies with tax_query not woking
- Variable not working in WP_Query
- Associate all Custom Post Types with Taxonomy
- Invalid Taxonomy
- Alphabetically sort a taxonomy.php template by post title
- Custom Post Types not queried in Custom Taxonomy archives or Native archives
- Show Taxonomies with admin area for custom post type?
- Remove categories taxonomy from custom post type
- Changing CPT slug and taxonomy already registered in parent theme
- Copy/Move selected taxonomy terms to another taxonomy for posts
- Query Custom Post Type by Taxonomy
- Copying over taxonomy structure from one CPT to another
- Sort Archive by Taxonomy
- Display ONE taxonomy and its assigned pages
- Menu for taxonomies and posts belongs to taxonomy
- How to automatically create a terms based on each post of a post type
- Page that lists publications by classifying them by taxonomy
- Display category filters for custom post type when category is shared by multiple post types
- How to order taxonomy terms by most recent post?
- Custom taxonomy returns 404 even with saving permalinks
- Create custom post type categories
- editing shortcode for custom post type within a plugin
- How to display all terms from all taxonomies in post, but separately for each taxonomy?
- Set a Default CPT taxonomy by taxonomy id
- List all posts associated under custom taxonomy
- how to create custom taxonomy drop downs for parents and child
- Get name CPT with slug taxonomy
- Add other all taxonomies as meta boxes to custom post type
- How to get post type archive category title
- Automatically / dynamically populating tags in custom post type
- Custom post type category link + add to menu
- Single taxonomy for different custom post types
- Taxonomy and Custom Post type with Collpase
- How to create groups like that in buddypress?
- Organising custom taxonomies and custom post types
- Filter Term By Parent Term – Custom Post Type
- Best approach to allow front-end display of posts’ reviewers?
- get children from current variable (taxonomy) via shortcode
- Custom Post Type and Taxonomies, creating the corresponding template file and loop the data
- Custom Post Type parent slug as menu item
- List all posts from custom post type by taxonomy
- Single and Archive Pages with Custom Post Type
- Sharing a custom taxonomy – No posts?
- show only one category posts in admin
- Get all active posts that are tied to a custom taxonomy for a custom post type
- Show only taxonomy types terms associated with a custom post type in WordPress PHP
- Taxonomy term archive claims there are no posts, but there are. How to resolve?
- How to list custom taxonomy terms without the hyperlinks?