wp_set_post_lock Wordpress function


Description:

Mark the post as currently being edited by the current user


Syntax:


Arguments:

(int) $post_id ID of the post to being edited


Return Type:

(bool|array) Returns false if the post doesn't exist of there is no current user, or an array of the lock time and the user ID.


Define At:

wp-admin/includes/post.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_set_post_lock


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×