wpseo_opengraph_image_type
wpseo_opengraph_image_type
Appears in: wordpress-seo.22.9, wordpress-seo.23.0, wordpress-seo.23.2, wordpress-seo.23.3, wordpress-seo.23.4, wordpress-seo.23.6, wordpress-seo.23.8, wordpress-seo.23.9, wordpress-seo.24.0, wordpress-seo.24.1
Hook Type: filter
Displaying hooks found in version: wordpress-seo.24.1apply_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'] = ''; }