icon_dir WordPress Filter Hook
The icon_dir hook allows developers to change the default directory for icons used in the Wordpress admin interface. This hook is useful for developers who wish to use their own custom icons or who want to use a different directory for icons.
apply_filters( 'icon_dir', string $path ) #
Filters the icon directory path.
Parameters
- $path
(string)Icon directory absolute path.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |