public function getBookId( $url ) {
		return get_blog_id_from_url(
			wp_parse_url( $url, PHP_URL_HOST ),
			trailingslashit( wp_parse_url( $url, PHP_URL_PATH ) )
		);
	}
public function getBookId( $url ) {
		return get_blog_id_from_url(
			wp_parse_url( $url, PHP_URL_HOST ),
			trailingslashit( wp_parse_url( $url, PHP_URL_PATH ) )
		);
	}
public function getBookId ( $ url ) { return get_blog_id_from_url ( wp_parse_url ( $ url , PHP_URL_HOST ) , trailingslashit ( wp_parse_url ( $ url , PHP_URL_PATH ) ) ) ; }
Get a book ID from its URL.

@since 4.1.0

@param string $url

@return int 0 of no blog was found, or the ID of the matched book.
Get a book ID from its URL .