wpseo_opengraph_image_height

wpseo_opengraph_image_height

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.24.8.1

apply_filters('wpseo_opengraph_image_height') is found 1 times:

  • /src/presenters/open-graph/image-presenter.php line 144
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    *
     * @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;
    }
    else {
        $image['height'] = '';
    }