SimplePie_Registry::register
Register a class
Signature
public function register(string
$type,
string
$class,
[boolean
$legacy = false] )
Parameters
$type
— string- See {@see $default} for names
$class
— string- Class name, must subclass the corresponding default
$legacy
— boolean- Whether to enable legacy support for this class
Returns
- bool
- Successfulness