SimplePie_Misc::get_element

Advertisement

Deprecated Deprecated

This method has been deprecated. Use DOMDocument instead (parsing HTML with regex is bad!)

Summery Summery

Get a HTML/XML element from a HTML string

Syntax Syntax

SimplePie_Misc::get_element( string $realname, string $string )

Parameters Parameters

$realname

(string) (Required) Element name (including namespace prefix if applicable)

$string

(string) (Required) HTML document

Return Return

(array)

Source Source

File: wp-includes/SimplePie/Misc.php


			

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.