privacy_ping_filter( mixed $sites )
Check whether blog is public before returning sites.
Description Description
Parameters Parameters
- $sites
-
(mixed) (Required) Will return if blog is public, will not return if not public.
Return Return
(mixed) Empty string if blog is not public, returns $sites, if site is public.
Source Source
File: wp-includes/comment.php
function privacy_ping_filter( $sites ) { if ( '0' != get_option( 'blog_public' ) ) { return $sites; } else { return ''; } }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |