Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Inventory_Presser_Vehicle::extract_image_element_src( string $img_element )

extract_image_element_src


Description Description

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


Top ↑

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-vehicle.php