is_jetpack_site, false, get_current_blog_id(
is_jetpack_site, false, get_current_blog_id(
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('is_jetpack_site, false, get_current_blog_id(') is found 1 times:
- /class.json-api-endpoints.php line 1505
* * @param bool false Is the current site a Jetpack site. Default to false. * @param int get_current_blog_id() Blog ID. */ $is_jetpack = true === apply_filters( 'is_jetpack_site', false, get_current_blog_id() ); $post_id = $author->ID; if ( $is_jetpack && ( defined( 'IS_WPCOM' ) && IS_WPCOM ) ) { $id = get_post_meta( $post_id, '_jetpack_post_author_external_id', true ); $email = get_post_meta( $post_id, '_jetpack_author_email', true ); $login = ''; $name = get_post_meta( $post_id, '_jetpack_author', true );