Skip to content

Instantly share code, notes, and snippets.

@mdibrahimk48
Created April 3, 2023 04:18
Show Gist options
  • Save mdibrahimk48/e5a7a21d6598d83428d51fc8972ab3a3 to your computer and use it in GitHub Desktop.
Save mdibrahimk48/e5a7a21d6598d83428d51fc8972ab3a3 to your computer and use it in GitHub Desktop.
<?php
$login_url = add_filter( 'wpto_login_url', 'smyles_custom_login_url');
function smyles_custom_login_url( $login_url ){
// This will append /custom-login/ to you main site URL as configured in general settings (ie https://domain.com/custom-login/)
$login_url = "https://wooproducttable.com/documentation/";
return $login_url;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment