Filters the dashboard URL for a user.
$url, $user_id, $path, $scheme
Sortie :
@param string $url The complete URL including scheme and path. @param int $user_id The user ID. @param string $path Path relative to the URL. Blank string if no path is specified. @param string $scheme Scheme to give the URL context. Accepts 'http', 'https', 'login',
// Modifier la valeur avec le filtre 'user_dashboard_url'
add_filter('user_dashboard_url', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($url) {
// Modifier la valeur
return $url;
}
Chargement des actualités...