Filters the user admin URL for the current user.
$path = '', $scheme = 'admin'
Sortie :
@param string $url The complete URL including scheme and path. @param string $path Path relative to the URL. Blank string if @param string|null $scheme The scheme to use. Accepts 'http', 'https', @param string $path Optional. Path relative to the admin URL. Default empty. @param string $scheme Optional. The scheme to use. Default is 'admin', which obeys force_ssl_admin() @return string Admin URL link with optional path appended.
// Utilisation de la fonction self_admin_url
$result = self_admin_url($path = '', $scheme = 'admin');
if ($result) {
// Votre logique ici
}
Chargement des actualités...