wpseo_opengraph_image_height

wpseo_opengraph_image_height

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.23.9

apply_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;
    	}