INVP::extract_image_element_src( string $img_element )

Given a string containing HTML <img> element markup, extract the value of the src attribute and return it.


Parameters Parameters

$img_element

(string) (Required) An HTML <img> element.


Top ↑

Return Return

(string) The value of the src attribute


Top ↑

Source Source

File: includes/class-invp.php

	 *
	 * @return void
	 */