Enterprise Shortcode Category: Database

/ Database

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

Read More

query.insert_term

Title
:
query.insert_term

Purpose
:
Adds a new term to the database. Optionally marks it as an alias of an existing

Read More

query.delete_revisions

 

Title
:
query.delete_revisions

Purpose
:
Deletes all the revisions of the post

Syntax
:

[query.delete_revisions post_id={module.post_id} /]

Input Parameters

Read More

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

Read More

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

Read More

Categories
Most Popular