wppaste
WordPress

apply_filters( 'login_remember_me_help_text', string $rememberme_help_text )

Since
7.1.0
Filters the help text shown in the "Remember Me" tooltip on the login form.

Description

Returning an empty string removes the tooltip toggle from the form.

Compatibility

WordPress
since 7.1.0
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in 1 of the 5 tracked releases, added in 7.1.0.

Parameters

$rememberme_help_textstring
The tooltip help text.

Where this hook fires · 1

  • wp-login.php:1549file scope

Source code

			 * Returning an empty string removes the tooltip toggle from the form.			 *			 * @since 7.1.0			 *			 * @param string $rememberme_help_text The tooltip help text.			 */			$rememberme_help_text = apply_filters(				'login_remember_me_help_text',				__( 'Selecting "Remember Me" increases the length of time until you&#8217;re asked to log in again on this device. To keep your account secure, use this option only on your personal devices.' )			);			?>			<p class="forgetmenot">				<input name="rememberme" type="checkbox" id="rememberme" value="forever" <?php checked( $rememberme ); ?> />

Changelog

Introduced in 7.1.0.

Signature, return type and hooks compared across 1 parsed release.

About this page

Parsed data
Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.