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



privacy_ping_filter › WordPress Function

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:

Checks whether blog is public before returning sites.



Sorgenti

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