SimplePie::set_autodiscovery_level()
Set how much feed autodiscovery to do
Method of the class: SimplePie{}
No Hooks.
Return
null
. Nothing (null).
Usage
$SimplePie = new SimplePie(); $SimplePie->set_autodiscovery_level( $level );
- $level(int)
- Feed Autodiscovery Level (level can be a combination of the above constants, see bitwise OR operator)
Default: SIMPLEPIE_LOCATOR_ALL
Notes
- See: SIMPLEPIE_LOCATOR_NONE
- See: SIMPLEPIE_LOCATOR_AUTODISCOVERY
- See: SIMPLEPIE_LOCATOR_LOCAL_EXTENSION
- See: SIMPLEPIE_LOCATOR_LOCAL_BODY
- See: SIMPLEPIE_LOCATOR_REMOTE_EXTENSION
- See: SIMPLEPIE_LOCATOR_REMOTE_BODY
- See: SIMPLEPIE_LOCATOR_ALL
SimplePie::set_autodiscovery_level() SimplePie::set autodiscovery level code WP 6.5.2
public function set_autodiscovery_level($level = SIMPLEPIE_LOCATOR_ALL) { $this->autodiscovery = (int) $level; }