Skip to content

Instantly share code, notes, and snippets.

View MarkWieczorek's full-sized avatar

markwieczorek MarkWieczorek

View GitHub Profile
@lukecav
lukecav / functions.php
Last active August 22, 2025 11:56 — forked from eteubert/wordpress-passwort-reset-unmultisite.php
WordPress Multisite: Password Reset on a Subsite.
/**
* Password reset on sub site (1 of 4)
* Replace login page "Lost Password?" urls.
*
* @param string $lostpassword_url The URL for retrieving a lost password.
* @param string $redirect The path to redirect to.
*
* @return string
*
* @since 1.0.0