INVP::extract_image_element_src( string $img_element )
extract_image_element_src
Contents
Description Description
Given a string containing HTML <img> element markup, extract the value of the src attribute and return it.
Parameters Parameters
- $img_element
-
(Required) An HTML <img> element
Return Return
(string) The value of the src attribute
Source Source
File: includes/class-invp.php
Expand full source code Collapse full source code View on Github