query.insert_post

/ Database / query.insert_post

Insert or update a post. if args has ‘ID’ set to a value, then post will be updated. args can be array or json

Parameters supported : args

It returns: The post ID on success. The value 0 or WP_Error on failure.

Syntax:

[query.insert_post p1={args} /]


Example:

Categories
Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *