Kirki_Helper::get_image_id PHP Method

get_image_id() public static method

Returns the attachment object
public static get_image_id ( string $url ) : integer | string
$url string URL to the image.
return integer | string Numeric ID of the attachement.
        public static function get_image_id($url)
        {
            return url_to_postid($url);
        }