SimplePie::set_image_handler()
Set the handler to enable the display of cached images.
Метод класса: SimplePie{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$SimplePie = new SimplePie(); $SimplePie->set_image_handler( $page, $qs );
- $page(строка)
- Web-accessible path to the handler_image.php file.
По умолчанию: false - $qs(строка)
- The query string that the value should be passed to.
По умолчанию: 'i'
Код SimplePie::set_image_handler() SimplePie::set image handler WP 6.5.2
public function set_image_handler($page = false, $qs = 'i') { if ($page !== false) { $this->sanitize->set_image_handler($page . '?' . $qs . '='); } else { $this->image_handler = ''; } }