Enterprise Shortcode Category: Database
/ Database
query.get_post_terms
Title
:
query.get_post_terms
Purpose
:
Retrieve the terms for a post
Syntax
:
[query.get_post_terms post_id OR taxonomy OR orderby OR order
query.get_term_meta
Title
:
query.get_term_meta
Purpose
:
Retrieves metadata for a term
Syntax
:
[query.get_term_meta
single=true
term_id=”104″
key=”key_name”
/]
Input Parameters
query.insert_comment
Title
:
query.insert_comment
Purpose
:
Array of arguments for inserting a new comment,
inserts a comment into the database.Note
query.get_post_meta
Title
:
query.get_post_meta
Purpose
:
Retrieves a post meta field of post ID.
Syntax
:
[query.get_post_meta post_id OR key OR single
query.insert_term
Title
:
query.insert_term
Purpose
:
Adds a new term to the database. Optionally marks it as an alias of an existing