In some cases maintenance mode, should be tested not only on subscribed users/admins. so in order to fine tune the plugin suggested filter to return true/false if the plugin should be activated
null value – default will leave plugin default logic.
add these 2 lines in the isActive() function in file:
aweos-wp-lock/includes/Handler.php
public function isActive() {
/*
* Filter to activate/deactivate the wp_lock depending on special logic
*/
$status = apply_filters( ‘aweos_wp_lock_status’, null, $this->options );
if ( $status !== null ) return( $status );
Thanks for this Plugin.
My question is, Is it possible to lock a specific page?
e.g Homepage and other page should be accessible..
But “Submit Post Page” should be lock and show customized lock message…
]]>