Searched refs:add_attributes (Results 1 – 3 of 3) sorted by relevance
76 public $add_attributes = ['audio' => ['preload' => 'none'], 'iframe' => ['sandbox' => 'allow-scripts allow-same-origin'], 'video' => ['preload' => 'none']]; variable in SimplePie\\Sanitize 228 public function add_attributes($attribs = ['audio' => ['preload' => 'none'], 'iframe' => ['sandbox' => 'allow-scripts allow-same-origin'], 'video' => ['preload' => 'none']]) function in SimplePie\\Sanitize 232 $this->add_attributes = $attribs;234 $this->add_attributes = explode(',', $attribs);237 $this->add_attributes = false;404 if ($this->add_attributes) {405 foreach ($this->add_attributes as $tag => $valuePairs) {
651 * @var array Stores the default attributes to add to different tags by add_attributes().652 * @see SimplePie::add_attributes()655 public $add_attributes = ['audio' => ['preload' => 'none'], 'iframe' => ['sandbox' => 'allow-scripts allow-same-origin'], 'video' => ['preload' => 'none']]; variable in SimplePie\\SimplePie 1350 $this->add_attributes(false);1403 public function add_attributes($attribs = '') function in SimplePie\\SimplePie 1406 $attribs = $this->add_attributes;1408 $this->sanitize->add_attributes($attribs);
250 * Added the `add_attributes()` method to `SimplePie`. [#394](https://github.com/simplepie/simplepie/pull/394)