/** * Remove the register link from the wp-login.php script * https://wphelper.site/remove-register-link-wordpress-login/ */ add_filter('option_users_can_register', function($value) { $script = basename(parse_url($_SERVER['SCRIPT_NAME'], PHP_URL_PATH)); if ($script == 'wp-login.php') { $value = false; } return $value; });

author

ABundant Seeds Health Solutions
Rating (average):
(4)
Name:
Alvionna Brewster, MSN-Ed., RN
Short Business Description:
Nurse Extraordinaire. Planting seeds towards a healthy future.
Business Address:
825 Watters Creek Blvd, Suite 250
75013
City:
Allen
State:
Texas
Business Phone Number:
972-996-4555
Business Website Address:
Business Tags: