xmlrpc = $xmlrpc; } /** * Checks if the site is public and returns the result. * * @since 4.3.0 * * @return Boolean $is_public */ protected function is_site_public() { if ( $this->xmlrpc->query( 'jetpack.isSitePubliclyAccessible', home_url() ) ) { return $this->xmlrpc->getResponse(); } return false; } }