WordPress at a glance
function is not described

SimplePie::set_autodiscovery_level() public WP 1.0

Set how much feed autodiscovery to do

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

No Hooks.

Return

null. Nothing.

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)

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

Code of SimplePie::set_autodiscovery_level() WP 5.7.2

<?php
public function set_autodiscovery_level($level = SIMPLEPIE_LOCATOR_ALL)
{
	$this->autodiscovery = (int) $level;
}