protected function getLicenseAttribution( $html ) {
		$meta = [];

		// get license attribution statement if it exists
		preg_match( '/(?:<div class="license-attribution[^>]*>)(.*)(<\/div>)/isU', $html, $matches );

		if ( ! empty( $matches[1] ) ) {
			$html5 = new HtmlParser();
			$dom = $html5->loadHTML( $matches[1] );
			$meta = $this->scrapeAndKneadMeta( $dom );
		}
		return $meta;
	}
protected function getLicenseAttribution( $html ) {
		$meta = [];

		// get license attribution statement if it exists
		preg_match( '/(?:<div class="license-attribution[^>]*>)(.*)(<\/div>)/isU', $html, $matches );

		if ( ! empty( $matches[1] ) ) {
			$html5 = new HtmlParser();
			$dom = $html5->loadHTML( $matches[1] );
			$meta = $this->scrapeAndKneadMeta( $dom );
		}
		return $meta;
	}
protected function getLicenseAttribution ( $ html ) { $ meta = [ ] ; // get license attribution statement if it exists preg_match ( '/(?:<div class="license-attribution[^>]*>)(.*)(<\/div>)/isU' , $ html , $ matches ) ; if ( ! empty ( $ matches [ 1 ] ) ) { $ html5 = new HtmlParser ( ) ; $ dom = $ html5 -> loadHTML ( $ matches [ 1 ] ) ; $ meta = $ this -> scrapeAndKneadMeta ( $ dom ) ; } return $ meta ; }
Looks for  div class created by the license module in PB, returns
author and license information.

@param string $html

@return array $meta
Looks for div class created by the license module in PB returns author and license information .