bp_is_blog_public, (int
bp_is_blog_public, (int
Appears in: buddypress.14.5.2
Hook Type: filter
Displaying hooks found in version: buddypress.14.5.2apply_filters('bp_is_blog_public, (int') is found 2 times:
- /bp-blogs/bp-blogs-filters.php line 117
* @since 2.2.0 * * @param int $value Value from the blog_public option for the current blog. */ $is_blog_public = apply_filters( 'bp_is_blog_public', (int) get_blog_option( $blog_id, 'blog_public' ) ); if ( 0 === $is_blog_public && is_multisite() ) { return false; } return $return; - /bp-blogs/classes/class-bp-blogs-component.php line 114
* @since 2.3.0 * * @param int $value Whether or not the blog is public. */ if ( 0 !== apply_filters( 'bp_is_blog_public', (int) get_option( 'blog_public' ) ) || ! is_multisite() ) { /** * Filters the post types to track for the Blogs component. * * @since 1.5.0 * @deprecated 2.3.0