wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_is_home_url_using_https › WordPress Function

Da5.7.0
Deprecaton/a
wp_is_home_url_using_https ( Nessun parametro )
Vedi:
Ritorna:
  • (bool) True if using HTTPS, false otherwise.
Definito a:
Codex:

Checks whether the current site URL is using HTTPS.



Sorgenti

function wp_is_home_url_using_https() {
	return 'https' === wp_parse_url( home_url(), PHP_URL_SCHEME );
}