Filters the icon directory path.
Parameters
$pathstring- Icon directory absolute path.
Source
$icon_dir = apply_filters( 'icon_dir', ABSPATH . WPINC . '/images/media' );
Changelog
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |
| CARVIEW |
Filters the icon directory path.
$pathstring$icon_dir = apply_filters( 'icon_dir', ABSPATH . WPINC . '/images/media' );
| Used by | Description |
|---|---|
get_attachment_icon_src()wp-includes/deprecated.php | Retrieve icon URL and Path. |
wp_mime_type_icon()wp-includes/post.php | Retrieves the icon for a MIME type or attachment. |
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.