WordPress at Your Fingertips
function is not described

SimplePie_Sanitize::strip_attributes() public WP 1.0

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

No Hooks.

Return

null. Nothing.

Usage

$SimplePie_Sanitize = new SimplePie_Sanitize();
$SimplePie_Sanitize->strip_attributes( $attribs, fooo, foooo, fooooo, foooooo, fooooooo, foooooooo, fooooooooo, foooooooooo, fooooooooooo, foooooooooooo, fooooooooooooo, foooooooooooooo) );
$attribs **
-
Default: array(foo
fooo (required)
-
foooo (required)
-
fooooo (required)
-
foooooo (required)
-
fooooooo (required)
-
foooooooo (required)
-
fooooooooo (required)
-
foooooooooo (required)
-
fooooooooooo (required)
-
foooooooooooo (required)
-
fooooooooooooo (required)
-
foooooooooooooo) (required)
-

Code of SimplePie_Sanitize::strip_attributes() WP 5.8.2

public function strip_attributes($attribs = array('bgsound', 'expr', 'id', 'style', 'onclick', 'onerror', 'onfinish', 'onmouseover', 'onmouseout', 'onfocus', 'onblur', 'lowsrc', 'dynsrc'))
{
	if ($attribs)
	{
		if (is_array($attribs))
		{
			$this->strip_attributes = $attribs;
		}
		else
		{
			$this->strip_attributes = explode(',', $attribs);
		}
	}
	else
	{
		$this->strip_attributes = false;
	}
}