WordPress at Your Fingertips
function is not described

SimplePie_Restriction::__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_Restriction{}

No Hooks.

Return

null. Nothing.

Usage

$SimplePie_Restriction = new SimplePie_Restriction();
$SimplePie_Restriction->__construct( $relationship, $type, $value );
$relationship **
-
Default: null
$type **
-
Default: null
$value **
-
Default: null

Code of SimplePie_Restriction::__construct() WP 5.8.2

public function __construct($relationship = null, $type = null, $value = null)
{
	$this->relationship = $relationship;
	$this->type = $type;
	$this->value = $value;
}