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.


Top ↑

Source

File: wp-includes/post.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More