add_filter( ‘pre_do_shortcode_tag’, static function ( $output, $tag, $atts ) { if ( ‘frm-reset-password’ !== $tag || ! is_user_logged_in() || ! isset( $_GET[‘key’], $_GET[‘login’] ) || ! class_exists( ‘FrmRegResetPWForm’ ) ) { return $output; } $key = sanitize_text_field( wp_unslash( $_GET[‘key’] )…Continue reading
// Display Last Login / Kiri Vadivelu / 2026 // Record last login timestamp add_action( ‘wp_login’, function( $user_login, $user ) { update_user_meta( $user->ID, ‘last_login’, current_time( ‘mysql’ ) ); }, 10, 2 ); // Add User ID and Last Login columns…Continue reading
// Change Login Appearance / Kiri Vadivelu / 2026 function custom_login_background() { ?>Continue reading
// Remove Remember Me / Kiri Vadivelu / 2026 add_action(‘login_head’, ‘remove_remember_me’); function remove_remember_me() { echo ‘ ‘; }Continue reading
function custom_login_logo() { echo ‘ ‘; } add_action(‘login_head’, ‘custom_login_logo’); function login_url(){ return “https://kashianupamhotel.com/”; // Your URL Here } add_filter(‘login_headerurl’, ‘login_url’);Continue reading
add_filter( ‘login_head’, function () { // Update the line below with the URL to your own logo. // Adjust the Width & Height accordingly. $custom_logo = ‘https://cportal.nowcoast.com/wp-content/uploads/2026/03/COA-cPortal-WPAdmin.svg’; $logo_width = 84; $logo_height = 84; printf( ‘ ‘, $custom_logo, $logo_width, $logo_height );…Continue reading