Enterprise Shortcode Category: Database
/ Database
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
query.update_post
Title
:
query.update_post
Purpose
:
Update a post with new post data. args can be array or json
Syntax
:
[query
query.get_comment
Title
:
query.get_comment
Purpose
:
Retrieves comment data given a comment ID or comment object.
Syntax
:
[query.get_comment id=”575512″ output
query.update_post_status
Title
:
query.update_post_status
Purpose
:
Update post status by calling wp_update_post function
Syntax
:
[query.update_post_status post_id AND post_status /]
Input Parameters
:
post_id