Enterprise Shortcode Category: Database
/ Database
query.all_post_meta
Title
:
query.all_post_meta
Purpose
:
Get post meta by post_slug and post_type or by passing the post_id
Syntax
:
[query.all_post_meta post_id
query.delete_term
Title
:
query.delete_term
Purpose
:
Removes a term from the database.
Syntax
:
[query.delete_term term_id=”575512″ taxonomy=”sample_taxo” /]
Input Parameters
:
term_id
query.term_exists
Title
:
query.term_exists
Purpose
:
Check if a given term exists and return the term ID, a term array, or
query.insert_post
Title
:
query.insert_post
Purpose
:
Insert or update a post. if args has ‘ID’ set to a value, then post will
query.get_terms
Title
:
query.get_terms
Purpose
:
Retrieve the terms in a given taxonomy or list of taxonomies
Syntax
:
[query.get_terms
taxonomies=’taxonomy_slug