Changeset 9218 for trunk/src/bp-blogs/bp-blogs-filters.php
- Timestamp:
- 12/09/2014 12:54:33 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-filters.php
r9194 r9218 34 34 */ 35 35 function bp_blogs_creation_location( $url ) { 36 37 /** 38 * Filters the 'Create a new site' link URL. 39 * 40 * @since BuddyPress (1.6.0) 41 * 42 * @param string $value URL for the 'Create a new site' signup page. 43 */ 36 44 return apply_filters( 'bp_blogs_creation_location', trailingslashit( bp_get_root_domain() . '/' . bp_get_blogs_root_slug() . '/create', $url ) ); 37 45 } … … 86 94 } 87 95 96 /** 97 * Filters whether or not BuddyPress should block sitewide tags activity. 98 * 99 * @since BuddyPress (2.2.0) 100 * 101 * @param bool $value Current status of the sitewide tags activity. 102 */ 88 103 if ( (int) $blog_id == $tags_blog_id && apply_filters( 'bp_blogs_block_sitewide_tags_activity', true ) ) { 89 104 return false; 90 105 } 91 106 107 /** 108 * Filters whether or not the current blog is public. 109 * 110 * @since BuddyPress (2.2.0) 111 * 112 * @param int $value Value from the blog_public option for the current blog. 113 */ 92 114 $is_blog_public = apply_filters( 'bp_is_blog_public', (int) get_blog_option( $blog_id, 'blog_public' ) ); 93 115
Note: See TracChangeset
for help on using the changeset viewer.