icon_dirs WordPress Filter Hook
The icon_dirs Wordpress hook allows you to specify a directory or directories from which your plugin can load icons. This hook is useful for loading icons from a shared directory, or for loading icons from a directory outside of your plugin's directory.
apply_filters( 'icon_dirs', string[] $uris ) #
Filters the array of icon directory URIs.
Parameters
- $uris
(string[])Array of icon directory URIs keyed by directory absolute path.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |