WordPress at Your Fingertips
function is not described

SimplePie_Credit::get_role() public WP 1.0

Get the role of the person receiving credit

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

No Hooks.

Return

String|null.

Usage

$SimplePie_Credit = new SimplePie_Credit();
$SimplePie_Credit->get_role();

Code of SimplePie_Credit::get_role() WP 5.8.2

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

	return null;
}