frontend/web/blog/wp-content/plugins/wordpress-seo/frontend/schema/class-schema-webpage.php
/**
	 * If we have an image, make it the primary image of the page.
	 *
	 * @param array $data WebPage schema data.
	 */
If we have an image, make it the primary image of the page.
@param array $data WebPage schema data.
If we have an image make it the primary image of the page . @param array $data WebPage schema data .
public function add_image( &$data ) {
		if ( $this->context->has_image ) {
			$data['primaryImageOfPage'] = [ '@id' => $this->context->canonical . WPSEO_Schema_IDs::PRIMARY_IMAGE_HASH ];
		}
	}
public function add_image ( & $ data ) { if ( $ this -> context -> has_image ) { $ data [ 'primaryImageOfPage' ] = [ '@id' => $ this -> context -> canonical . WPSEO_Schema_IDs :: PRIMARY_IMAGE_HASH ] ; } }
If we have an image, make it the primary image of the page.
If we have an image make it the primary image of the page .