WordPress at Your Fingertips
function is not described

SimplePie_Caption::__construct() public WP 1.0

Constructor, used to input the data

For documentation on all the parameters, see the corresponding properties and their accessors

{} It's a method of the class: SimplePie_Caption{}

No Hooks.

Return

null. Nothing.

Usage

$SimplePie_Caption = new SimplePie_Caption();
$SimplePie_Caption->__construct( $type, $lang, $startTime, $endTime, $text );
$type **
-
Default: null
$lang **
-
Default: null
$startTime **
-
Default: null
$endTime **
-
Default: null
$text **
-
Default: null

Code of SimplePie_Caption::__construct() WP 5.8.2

public function __construct($type = null, $lang = null, $startTime = null, $endTime = null, $text = null)
{
	$this->type = $type;
	$this->lang = $lang;
	$this->startTime = $startTime;
	$this->endTime = $endTime;
	$this->text = $text;
}