wpseo_opengraph_image, $image[url], $this->presentation

wpseo_opengraph_image, $image[url], $this->presentation

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.28.1

apply_filters('wpseo_opengraph_image, $image[url], $this->presentation') is found 1 times:

  • /src/presenters/open-graph/image-presenter.php line 102
    		 *
    		 * @param string                 $image_url    The URL of the Open Graph image.
    		 * @param Indexable_Presentation $presentation The presentation of an indexable.
    		 */
    		$image_url = \apply_filters( 'wpseo_opengraph_image', $image['url'], $this->presentation );
    		if ( ! empty( $image_url ) && \is_string( $image_url ) ) {
    			$image['url'] = \trim( $image_url );
    		}
    
    		$image_type = ( $image['type'] ?? '' );
    		/**