-
add_filter( ‘comment_form_defaults’, function( $fields ) {
$fields[‘must_log_in’] = sprintf(
__( ‘<p class=”must-log-in”>
You must Register or
Login to post a comment.</p>’
),
wp_registration_url(),
wp_login_url( apply_filters( ‘the_permalink’, get_permalink() ) )
);
return $fields;
});i want to change link or disable.
-
Please use the search before making a post. Your question maybe be already answered!
-
Do you need customization work? Are you having trouble installing Wordpress? Feeling lazy and want somebody else to do the hard work for you?
Join our discord!
Need hosting?
Follow us!