SimplePie::set_useragent

Advertisement

Summery Summery

Set the user agent string

Syntax Syntax

SimplePie::set_useragent( string $ua = SIMPLEPIE_USERAGENT )

Parameters Parameters

$ua

(Optional) New user agent string.

Default value: SIMPLEPIE_USERAGENT

Source Source

File: wp-includes/class-simplepie.php

	/**
	 * Set which class SimplePie uses for feed enclosures
	 */

Advertisement

Advertisement

Leave a Reply