wpcom_api_pre_get_active_blog_author, false, $id
wpcom_api_pre_get_active_blog_author, false, $id
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('wpcom_api_pre_get_active_blog_author, false, $id') is found 1 times:
- /class.json-api-endpoints.php line 1546
* * @param bool|int $active_blog Blog ID, or false by default. * @param int $id User ID. */ $active_blog = apply_filters( 'wpcom_api_pre_get_active_blog_author', false, $id ); if ( false === $active_blog ) { $active_blog = get_active_blog_for_user( $id ); } if ( ! empty( $active_blog ) ) { $site_id = $active_blog->blog_id; }