single.html
WordPress core a2z
WordPress core only
Home
Blocks
Plugins
Themes
Sitemap
Blog
Block news
About
Home
»
Hooks
»
icon_dir – filter
icon_dir – filter
Hook name
:
icon_dir
Hook type
:
filter
Plugin ref
:
WordPress
Sourcefile
:
File ref
:
wp_get_attachment_image_src() – Retrieves an image to represent an attachment.
Description
:
Filters the attachment image source result.
Parameters
:
Deprecated?
:
No
API Letters
:
D
,
I
Invokers
1 to 3 of 3
get_attachment_icon_src() – Retrieve icon URL and Path.
wp_get_attachment_image_src() – Retrieves an image to represent an attachment.
wp_mime_type_icon() – Retrieve the icon for a MIME type or attachment.
Implementers
Published:
25th November 2019
Last updated:
13th March 2021
Information
Hook name
:
icon_dir
Hook type
:
filter
Plugin ref
:
WordPress
Sourcefile
:
File ref
:
wp_get_attachment_image_src() – Retrieves an image to represent an attachment.
Description
:
Filters the attachment image source result.
Parameters
:
Deprecated?
:
No
API Letters
:
D
,
I
Search
Search