SimplePie_Registry::register

SummerySummery

Register a class

Syntax

SimplePie_Registry::register( string $type, string $class, bool $legacy = false )

ParametersParameters

$type

(string) (Required) See $default for names

$class

(string) (Required) Class name, must subclass the corresponding default

$legacy

(bool) (Optional) Whether to enable legacy support for this class

Default value: false

ReturnReturn

(bool) Successfulness

SourceSource

File: wp-includes/SimplePie/Registry.php


			
Scroll to Top