wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



privacy_ping_filter › WordPress Function

Desde2.1.0
Obsoleton/a
privacy_ping_filter ( $sites )
Parâmetros:
  • (mixed) $sites Will return if blog is public, will not return if not public.
    Required: Yes
Retorna:
  • (mixed) Empty string if blog is not public, returns $sites, if site is public.
Definido em:
Codex:

Checks whether blog is public before returning sites.



Fonte

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