function privacy_ping_filter($sites) {}

Check whether blog is public before returning sites.


  • mixed $sites: Will return if blog is public, will not return if not public.

Return values

returns:Empty string if blog is not public, returns $sites, if site is public.

Source code

function privacy_ping_filter($sites) {

	if ( '0' != get_option('blog_public') )

		return $sites;


		return '';



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: