wp_mime_type_icon

wp_mime_type_icon

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('wp_mime_type_icon') is found 1 times:

  • /wp-includes/post.php line 7183
    	 * @param string $mime    Mime type.
    	 * @param int    $post_id Attachment ID. Will equal 0 if the function passed
    	 *                        the mime type.
    	 */
    	return apply_filters( 'wp_mime_type_icon', $icon, $mime, $post_id );
    }
    
    /**
     * Checks for changed slugs for published post objects and save the old slug.
     *
     * The function is used when a post object of any type is updated,
    

See this hook used in plugins: