wp_check_post_lock Wordpress function


Description:

Check to see if the post is currently being edited by another user.


Syntax:


Arguments:

(int) $post_id ID of the post to check for editing


Return Type:

(bool|int) False: not locked or locked by current user. Int: user ID of user with lock.


Define At:

wp-admin/includes/post.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_check_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 ×