Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Kirki_Helper
get_image_id
Kirki_Helper::get_image_id PHP Method
Kirki_Helper Class Documentation
Show file
Open project: aristath/kirki
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); }
Kirki_Helper
array_replace_recursive
get_dashicons
get_image_from_url
get_image_id
get_material_design_colors
get_post_types
get_posts
get_taxonomies
get_terms
init_filesystem
recurse