wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



admin_url › WordPress Function

Od2.6.0
Przestarzałyn/a
admin_url ( $path = '', $scheme = 'admin' )
Parametry: (2)
  • (string) $path Optional. Path relative to the admin URL. Default empty.
    Wymagane: Nie
    Domyślny: (puste)
  • (string) $scheme The scheme to use. Default is 'admin', which obeys force_ssl_admin() and is_ssl(). 'http' or 'https' can be passed to force those schemes.
    Wymagane: Nie
    Domyślny: 'admin'
Powrót:
  • (string) Admin URL link with optional path appended.
Zdefiniowane na:
Codex:

Retrieves the URL to the admin area for the current site.



Źródło

function admin_url( $path = '', $scheme = 'admin' ) {
	return get_admin_url( null, $path, $scheme );
}