diff --git a/src/bp-blogs/bp-blogs-functions.php b/src/bp-blogs/bp-blogs-functions.php
index d88b00f6e..1a4797b8f 100644
|
a
|
b
|
function bp_blogs_get_blogs( $args = '' ) { |
| 95 | 95 | * @type array $site_id The network site ID to use. |
| 96 | 96 | * } |
| 97 | 97 | * @return bool |
| | 98 | * |
| | 99 | * @global wpdb $wpdb WordPress database object. |
| 98 | 100 | */ |
| 99 | 101 | function bp_blogs_record_existing_blogs( $args = array() ) { |
| 100 | 102 | global $wpdb; |
| … |
… |
add_action( 'bp_activity_post_type_comment', 'bp_blogs_comment_sync_activity_com |
| 857 | 859 | * @param int $user_id The ID of the user. |
| 858 | 860 | * @param string|bool $role User's WordPress role for this blog ID. |
| 859 | 861 | * @param int $blog_id Blog ID user is being added to. |
| | 862 | * |
| | 863 | * @global wpdb $wpdb WordPress database object. |
| 860 | 864 | */ |
| 861 | 865 | function bp_blogs_add_user_to_blog( $user_id, $role = false, $blog_id = 0 ) { |
| 862 | 866 | global $wpdb; |
| … |
… |
function bp_blogs_get_allowed_roles() { |
| 932 | 936 | * |
| 933 | 937 | * @param int $user_id ID of the user whose blog is being removed. |
| 934 | 938 | * @param int $blog_id Optional. ID of the blog being removed. Default: current blog ID. |
| | 939 | * |
| | 940 | * @global wpdb $wpdb WordPress database object. |
| 935 | 941 | */ |
| 936 | 942 | function bp_blogs_remove_user_from_blog( $user_id, $blog_id = 0 ) { |
| 937 | 943 | global $wpdb; |