wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



admin_url › Les Filtres WordPress

Depuis5.8.0
Dépréciéen/a
apply_filters( 'admin_url', $url, $path, $blog_id, $scheme )
Paramètres: (4)
  • (string) $url The complete admin area URL including scheme and path.
    Requis: Oui
  • (string) $path Path relative to the admin area URL. Blank string if no path is specified.
    Requis: Oui
  • (int|null) $blog_id Site ID, or null for the current site.
    Requis: Oui
  • (string|null) $scheme The scheme to use. Accepts 'http', 'https', 'admin', or null. Default 'admin', which obeys force_ssl_admin() and is_ssl().
    Requis: Oui
Défini(e) dans:
Codex:

Filters the admin area URL.





Source

return apply_filters( 'admin_url', $url, $path, $blog_id, $scheme );