wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
site_url › WordPress Function
Depuis3.0.0
Dépréciéen/a
› site_url ( $path = '', $scheme = null )
Paramètres: (2) |
|
Retourne: |
|
Défini(e) dans: |
|
Codex: |
Retrieves the URL for the current site where WordPress application files (e.g. wp-blog-header.php or the wp-admin/ folder) are accessible.
Returns the 'site_url' option with the appropriate protocol, 'https' if is_ssl() and 'http' otherwise. If $scheme is 'http' or 'https', is_ssl() is overridden.