wpseek.com
A WordPress-centric search engine for devs and theme authors



privacy_ping_filter › WordPress Function

Since2.1.0
Deprecatedn/a
privacy_ping_filter ( $sites )
Parameters:
  • (mixed) $sites Will return if blog is public, will not return if not public.
    Required: Yes
Returns:
  • (mixed) Empty string if blog is not public, returns $sites, if site is public.
Defined at:
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 '';
	}
}