public function getLicenseFromUrl( $url ) {
		$licenses = $this->getSupportedTypes();
		foreach ( $licenses as $license => $v ) {
			if ( $url === $v['url'] ) {
				return $license;
			}
		}

		return 'all-rights-reserved';
	}
public function getLicenseFromUrl( $url ) {
		$licenses = $this->getSupportedTypes();
		foreach ( $licenses as $license => $v ) {
			if ( $url === $v['url'] ) {
				return $license;
			}
		}

		return 'all-rights-reserved';
	}
public function getLicenseFromUrl ( $ url ) { $ licenses = $ this -> getSupportedTypes ( ) ; foreach ( $ licenses as $ license => $ v ) { if ( $ url === $ v [ 'url' ] ) { return $ license ; } } return 'all-rights-reserved' ; }
Returns Book Information-compatible license value from URL.

@since 4.1.0

@param string

@return string
Returns Book Information - compatible license value from URL .