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



privacy_ping_filter › WordPress Function

Depuis2.1.0
Dépréciéen/a
privacy_ping_filter ( $sites )
Paramètres:
  • (mixed) $sites Will return if blog is public, will not return if not public.
    Requis: Oui
Retourne:
  • (mixed) Empty string if blog is not public, returns $sites, if site is public.
Défini(e) dans:
Codex:

Checks whether blog is public before returning sites.



Source

function privacy_ping_filter( $sites ) {
	if ( '0' != get_option( 'blog_public' ) ) {
		return $sites;
	} else {
		return '';
	}
}