-
Notifications
You must be signed in to change notification settings - Fork 81
activitypub_is_blog_public
github-actions[bot] edited this page Aug 1, 2025
·
4 revisions
Filter whether the blog is public.
/**
* Filter whether the blog is public.
*
* @param bool $public
* @return bool The filtered value.
*/
function my_activitypub_is_blog_public_callback( bool $public ) {
// Your code here.
return $public;
}
add_filter( 'activitypub_is_blog_public', 'my_activitypub_is_blog_public_callback' );
-
bool
$public
Whether the blog is public.
apply_filters( 'activitypub_is_blog_public', \get_option( 'blog_public', 1 ) )
Follow @[email protected] for updates and news.