icon_dirs

icon_dirs

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('icon_dirs') is found 1 times:

  • /wp-includes/post.php line 7106
    			 * @since 2.5.0
    			 *
    			 * @param string[] $uris Array of icon directory URIs keyed by directory absolute path.
    			 */
    			$dirs       = apply_filters( 'icon_dirs', array( $icon_dir => $icon_dir_uri ) );
    			$icon_files = array();
    			$all_icons  = array();
    			while ( $dirs ) {
    				$keys = array_keys( $dirs );
    				$dir  = array_shift( $keys );
    				$uri  = array_shift( $dirs );