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



redirect_this_site › WordPress Function

Depuis
Dépréciéen/a
redirect_this_site ( $deprecated = '' )
Paramètres:
  • (array|string) $deprecated Not used.
    Requis: Non
    Défaut: (vide)
Voir:
Retourne:
  • (string[]) { An array containing the current site's domain. @type string $0 The current site's domain. }
Défini(e) dans:
Codex:
Changelog:
  • MU

Ensures that the current site's domain is listed in the allowed redirect host list.



Source

function redirect_this_site( $deprecated = '' ) {
	return array( get_network()->domain );
}