Plugin doesn't work
-
Hey Bryan,
great idea here. However, the plugin doesn’t exactly do what it should.
On activation of the plugin _edit_lock post meta is cleared, which clears any current locks for posts.
I believe the best approach here would be to just filter ‘wp_check_post_lock_window’, and set it to a negative value. Cheers.
<?php add_filter( 'wp_check_post_lock_window', 'set_post_lock_window_to_a_negative_number' ); function set_post_lock_window_to_a_negative_number( $lock_window ) { $lock_window = -1; return $lock_window;
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Plugin doesn't work’ is closed to new replies.