I finally remove the function pigen_change_icon() :
function remove_pigen_change_icon() {
$tag = 'wp_mime_type_icon';
$function_to_remove = 'pigen_change_icon';
$priority = 10;
remove_filter( $tag, $function_to_remove, $priority );
}
add_action( 'after_setup_theme', 'remove_pigen_change_icon' );
i don’t understand the usefulness of pigen_change_icon().
Hi whoaloic.
pigen_change_icon() replaces a mime icon to a thumbnail in media uploader like below.
https://s.w.org/plugins/pdf-image-generator/screenshot-1.jpg
I guess you mean that pdf icons doesn’t show in the static media library page.
So, I disabled pigen_change_icon only in the library page.
Thanks for good feedback.
Please update the plugin.
Hi,
I need to disable pigen_change_icon in the admin edit post screen page.
I uploaded the plugin to 1.2.1. and add the plugin page in ‘setting.’
You can disable some functions in there.
Thank you.