SimplePie_Sanitize::pass_file_data

Advertisement

Syntax Syntax

SimplePie_Sanitize::pass_file_data( $file_class = 'SimplePie_File',  $timeout = 10,  $useragent = '',  $force_fsockopen = false )

Source Source

File: wp-includes/SimplePie/Sanitize.php

	public function pass_file_data($file_class = 'SimplePie_File', $timeout = 10, $useragent = '', $force_fsockopen = false)
	{
		if ($timeout)
		{
			$this->timeout = (string) $timeout;
		}

		if ($useragent)
		{
			$this->useragent = (string) $useragent;
		}

		if ($force_fsockopen)
		{
			$this->force_fsockopen = (string) $force_fsockopen;
		}
	}

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.