Kirki_Helper::get_image_id PHP 메소드

get_image_id() 공개 정적인 메소드

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