Skip to content

activitypub_is_blog_public

github-actions[bot] edited this page Aug 1, 2025 · 4 revisions

Filter whether the blog is public.

Auto-generated Example

/**
 * 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' );

Parameters

  • bool $public Whether the blog is public.

Files

apply_filters( 'activitypub_is_blog_public', \get_option( 'blog_public', 1 ) )

← All Hooks

Users

Developers

Clone this wiki locally