wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_change_password_url › Filtr WordPress Hooks

Od7.2.0
Przestarzałyn/a
› apply_filters( 'wp_change_password_url', admin_url( 'profile.php' )
Parametry:
  • () change_password_url The URL to redirect to. Default is the user profile page.
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

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