wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_change_password_url › WordPress Filter Hooks

Da7.2.0
Deprecaton/a
› apply_filters( 'wp_change_password_url', admin_url( 'profile.php' )
Parametri:
  • () change_password_url The URL to redirect to. Default is the user profile page.
    Richiesto: Sì
Definito a:
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.




Sorgenti

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