Un motore di ricerca WordPress per sviluppatori e autori di temi



privacy_ping_filter ›

Da2.1.0
Deprecaton/a
privacy_ping_filter ( $sites )
Parametri:
  • (mixed) $sites Will return if blog is public, will not return if not public.
    Richiesto:
Ritorna:
  • (mixed) Empty string if blog is not public, returns $sites, if site is public.
Definito a:
Codex:

Check whether blog is public before returning sites.



Sorgenti

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