Skip to content

Instantly share code, notes, and snippets.

@norico norico/redirect_inscription Secret
Last active Feb 26, 2019

Embed
What would you like to do?
<?php
function redirect_inscription(){
/*
$url = '/';
$url = 'page-de-redirection.html';
$url = 'la-ou-je-veux-aller';
*/
return home_url($url);
}
add_filter('registration_redirect','redirect_inscription');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.