wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_change_password_url › WordPress Filter Hooks

Seit7.2.0
Veraltetn/v
› apply_filters( 'wp_change_password_url', admin_url( 'profile.php' )
Parameter:
  • () change_password_url The URL to redirect to. Default is the user profile page.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the well-known change password URL (/.well-known/change-password).

By default visiting the well-known change password URL will redirect to the user's profile page when requested by a browser or password manager. Sites with a custom URL structure for modifying the passwords can modify the destination with this filter. The resulting URL is redirected using {@see \wp_safe_redirect}, if the filtered URL is on an external host, that host will need to be included as an allowed host via the {@see 'allowed_redirect_hosts'} filter.




Quellcode

$change_password_url = apply_filters( 'wp_change_password_url', admin_url( 'profile.php' ) );