Category: Login
ASA
function generate_student_number( $user_id ) { // Generate a unique student number, e.g., STU + random 6 digits $student_number = ‘STU-‘ . strtoupper( wp_generate_password( 6, false ) ); // Save the student number to user meta update_user_meta( $user_id, ‘student_number’, $student_number );…Continue reading
Untitled Snippet
Untitled Snippet
pinterest-site-verification=6ab93a141b8c2934962535304036488bContinue reading
traffichaus PIX
MemberPress: Disable Math Captcha on login page
function kill_math_on_login() { remove_all_actions( ‘mepr-forgot-password-form’ ); remove_all_actions( ‘mepr-login-form-before-submit’ ); remove_all_filters( ‘mepr-validate-forgot-password’ ); remove_all_filters( ‘mepr-validate-login’ ); } add_action( ‘plugins_loaded’, ‘kill_math_on_login’ );Continue reading
MemberPress: Change the “Username or E-mail” label on login form
function mepr_change_uname_or_email_text() { return ‘Custom text’; } add_filter(‘mepr-login-uname-or-email-str’, ‘mepr_change_uname_or_email_text’ );Continue reading
𝘽𝙡𝙖𝙘𝙠-𝘼𝙛𝙧𝙞𝙘𝙖𝙣
SupportContinue reading