privacy_ping_filter

Definition:
function privacy_ping_filter($sites) {}

Check whether blog is public before returning sites.

Parameters

  • 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;

	else

		return '';

}

2631

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:

WordPress.com Logo

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

Facebook photo

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

Connecting to %s

%d bloggers like this: