[ Index ] |
PHP Cross Reference of BBPress |
[Source view] [Print] [Project Stats]
bbPress Locking
File Size: | 82 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
bbp_check_post_lock( $post_id = 0 ) X-Ref |
Check to see if the post is currently being edited by another user. param: int $post_id ID of the post to check for editing return: integer False: not locked or locked by current user. Int: user ID of user with lock. since: 2.6.0 bbPress (r6340) |
bbp_set_post_lock( $post_id = 0 ) X-Ref |
Mark the post as currently being edited by the current user param: int $post_id ID of the post to being edited return: bool|array Returns false if the post doesn't exist of there is no current user, or since: 2.6.0 bbPress (r6340) |
Generated: Fri Jan 31 01:01:01 2025 | Cross-referenced by PHPXref 0.7.1 |