Try This:
$args = array(
'hide_empty' => false,
'relation' => 'OR',
array(
'key' => 'serial_language',
'value' =>'english',
'compare' => 'LIKE'
),
array(
'key' => 'serial_language',
'value' =>'arabic',
'compare' => 'LIKE'
),
'taxonomy' => 'serial',
);
$terms = get_terms( $args );
hope this will help
Related Posts:
- Retrieve posts by term id custom query
- Get value in custom field with taxonomy [closed]
- Looping Through Custom Tax Terms and Displaying All Posts For Each
- Automatically assign taxonomy term if custom meta value exists
- How to List Parent Term Links for Custom Taxonomy With & Without Children?
- Outputting an array of term meta values in a custom WooCommerce tab?
- $wpdb query a post type within a specific taxonomy term while ordering posts by custom meta value?
- Can I use a Custom Meta Value inside of ‘get_the_terms’?
- How to add contents of a custom field to a taxonomy term list?
- List related terms + taxonomies
- Search Query for Multiple Terms In Same Taxonomy
- How to support fifteen thousand terms in WordPress?
- How to get the term description in a taxonomy term archive query?
- How to use custom slug and custom templates for custom taxonomy?
- Count tags for current post and save into custom meta field (and update it on post edit)
- Create new Taxonomy, add extra fields, register terms AND extra fields values?
- How to filter a taxonomy meta field to the ‘single_term_title’ filter hook
- Query pages by child term
- Adding a query var to taxonomy term archive – gets redirected to the other taxonomy archive page
- add_query_arg to look up page title
- Get the the top-level parent of a custom taxonomy term
- get_terms – only top level
- How to only list the child terms of a taxonomy and not their parents?
- Hierarchical taxonomy UI
- Order get_terms using a Custom Field
- How to modify the query in taxonomy-custom.php to sort term archives by a custom meta field?
- Can I lock down custom taxonomies on a parent term level, but not a child term?
- Get only the first term by taxonomy
- get_terms() returns an empty array
- Custom Taxonomy Only Showing Top Level Terms in Admin?
- Is it possible to get a Previous/Next Taxonomy term archive URL?
- wp_query orderby title and meta key value (WP3.1)
- WP_insert_term how to insert multiple values as taxonomny term?
- Custom taxonomy term as class?
- How to edit/remove a term that’s in multiple taxonomies?
- how to create a proper query for getting a list of users with taxonomy related meta key
- How to add custom field to custom taxonomy in 4.4
- Generic taxonomy-term template page
- Get direct children of custom taxonomy
- List subcategory on taxonomy term page
- Operations with custom fields values in a loop
- Check if term is in a taxonomy?
- How to insert an array of terms using wp_insert_term?
- display taxonomy slug from term ID
- How to show only terms by id or slug on edit-tags.php (custom taxonomy manage page) for a custom taxonomy
- How to use get_the_terms() to display multiple terms?
- get_term and get_term_by return null or false, even though term exists
- one term two taxonomy’s?
- Conditional display for custom fields/taxonomy
- How do I modify the “Insert Media” lightbox in the admin to only show media items from a category?
- Checkbox onclick filtering on the same page
- First custom field value (out of several) displayed twice after query
- Getting WooCommerce product related child categories
- Sorting main query by custom taxonomy slug
- How do I display a custom field from a custom taxonomy in single.php?
- get_terms() duplicate first term of a custom taxonomy
- Best structure for entering recipes in a WordPress theme?
- Having Issue on Passing Variable into HTML Class Tag
- Copy/clone/associate Custom field to Custom Taxonomy
- Query posts using custom taxonomy and selected terms
- Proper use of wp_get_object_terms
- Output all terms in a custom taxonomy and add a “active” class only to the ones attached to the current post
- one post per term taxonomy
- How to check if a post has at least 2 terms from a custom taxonomy attached?
- How can I change the output display of my pagination?
- Can’t get taxonomy ID for each post on archive page
- Terms change id after importing
- How to add a date creation field when a custom taxonomy relationship is created?
- Why can’t I access Custom Taxonomy metadata?
- Adding Child Terms Programatically – No Warning but No dice either
- Show related posts on single.php, grouped by taxonomy terms, with Advanced Custom Field post object selected
- Running a function only once when a taxonomy term is changed
- Set post terms by term id
- Taxonomy or Custom Field
- making an index from custom taxonomies and tags of posts (not hierarchical taxonomy)
- Displaying my custom taxonomies in a using the_term_list()
- Use wp_list_categories to list parent categories from actual term
- Trash Bin for Categories?
- using wp_insert_term to create custom terms for a custom taxonomy from frontend form,
- is there a way of getting term children that only shows those from two taxonomies
- Get Terms of custom Taxonomy of products with certain Product Category
- How to add a shortcode function that returns the taxonomy slug of the actual post within the loop
- Tree view wp-admin terms
- Retrieve the child terms by having the parent’s information
- Convert post meta to custom taxonomy?
- Order get_terms by count using a custom taxonomy hierarchy
- How to create a non removable taxonomy term?
- WordPress taxonomy terms archive template help
- Query by multiple custom taxonomies
- Is it possible to sort the post based on a custom field?
- Why get_terms() behaves strangely when being called in admin (for use in meta box)?
- qtranslate-x problem with custom term description
- Sorting terms individually for each post
- Tax Query not working
- Custom taxonomy – query returns an error
- Register custom taxonomy from a Advenced custom field option page
- Multiple category lists on one page
- Any way to make custom taxonomy field searchable?
- get_the_terms inside save_post gives old terms
- Hide empty categories on widget