hildaaa
Forum Replies Created
-
function usp_login_required_message() {
$message = ‘<p>’. esc_html__(‘Please’, ‘usp’);
$message .= ‘ ‘. esc_html__(‘log in’, ‘usp’) .’ ‘;
$message .= esc_html__(‘to submit content!’, ‘usp’) .'</p>’;$message = apply_filters(‘usp_require_login’, $message);
return $message;
}
ok, so what is the code for that? (sorry forgot to tell you that I am beginner on this php code things)
ok,
Hereis your code
function usp_login_required_message() {
$message = ‘<p>’. esc_html__(‘Please’, ‘usp’);
$message .= ‘ ‘. esc_html__(‘log in’, ‘usp’) .’ ‘;
$message .= esc_html__(‘to submit content!’, ‘usp’) .'</p>’;$message = apply_filters(‘usp_require_login’, $message);
return $message;
}`
So if I clicked on “log in” it will go to http://www.xyz.com/wp-login.php right?
What I want is when I click “log in” I want to go to http://www.xyz.com/register instead of http://www.xyz.com/wp-login.php
How to do it?
Thanks
- This reply was modified 9 years, 5 months ago by hildaaa.