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