wpseo_opengraph_image_width
wpseo_opengraph_image_width
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
Hook Type: filter
Displaying hooks found in version: wordpress-seo.23.8apply_filters('wpseo_opengraph_image_width') is found 1 times:
- /src/presenters/open-graph/image-presenter.php line 126
* * @param int $image_width The width of the Open Graph image. * @param Indexable_Presentation $presentation The presentation of an indexable. */ $image_width = (int) \apply_filters( 'wpseo_opengraph_image_width', $image_width, $this->presentation ); if ( ! empty( $image_width ) && $image_width > 0 ) { $image['width'] = $image_width; } $image_height = ( $image['height'] ?? '' ); /**