wpseo_opengraph_image_type

wpseo_opengraph_image_type

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.24.1

apply_filters('wpseo_opengraph_image_type') is found 1 times:

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