query.update_post_status

/ Database / query.update_post_status

Update post status by calling wp_update_post function

Parameters supported : post_id, post_status

Syntax:

[query.update_post_status post_id OR post_status /]


Example:

Categories
Most Popular

Leave a Reply

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