WordPress Maintenance Mode - markhowellsmead/helpers GitHub Wiki
Log out all current users
By resetting the salt variables in the wp_config.php file, all current users will be logged out when they next request a page. This is because the validity of the login cookie is checked against an algorithm which uses the salt values.