SimplePie::get_image_width

Advertisement

Summery Summery

Get the feed logo’s link

Syntax Syntax

SimplePie::get_image_width()

Description Description

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

Uses <image><width> or defaults to 88.0 if no width 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 $this->sanitize($this->data['headers']['content-language'], SIMPLEPIE_CONSTRUCT_TEXT);
		}

		return null;
	}

	/**
	 * Get the latitude coordinates for the item
	 *
	 * Compatible with the W3C WGS84 Basic Geo and GeoRSS specifications
	 *
	 * Uses `<geo:lat>` or `<georss:point>`
	 *
	 * @since 1.0
	 * @link http://www.w3.org/2003/01/geo/ W3C WGS84 Basic Geo

Advertisement

Advertisement

Leave a Reply