WordPress at Your Fingertips
function is not described

SimplePie_Restriction::get_relationship() public WP 1.0

Get the relationship

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

No Hooks.

Return

String|null. Either 'allow' or 'deny'

Usage

$SimplePie_Restriction = new SimplePie_Restriction();
$SimplePie_Restriction->get_relationship();

Code of SimplePie_Restriction::get_relationship() WP 5.8.2

public function get_relationship()
{
	if ($this->relationship !== null)
	{
		return $this->relationship;
	}

	return null;
}