SimplePie::get_image_height

Advertisement

Summery Summery

Get the feed logo’s height

Syntax Syntax

SimplePie::get_image_height()

Description Description

RSS 2.0 feeds are allowed to have a "feed logo" height.

Uses <image><height> or defaults to 31.0 if no height is specified and the feed is an RSS 2.0 feed.

Return Return

(int|float|null)

Source Source

File: wp-includes/class-simplepie.php

		{
			return (float) $match[1];
		}

		return null;
	}

	/**
	 * Get the longitude coordinates for the feed
	 *
	 * Compatible with the W3C WGS84 Basic Geo and GeoRSS specifications
	 *
	 * Uses `<geo:long>`, `<geo:lon>` or `<georss:point>`
	 *
	 * @since 1.0

Advertisement

Advertisement

Leave a Reply