Move 'icon_dirs' add_filter call
-
Hi,
With the 3.5 MediaBrowser, the icons are not displayed. The 3.5 media browser uses an ajax_admin call to retrieve a json of attachment data.
Moving
add_filter( 'icon_dirs', array( $this, 'add_icons_dir') );
fromadmin_menu()
toplugins_loaded()
fixes this.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Move 'icon_dirs' add_filter call’ is closed to new replies.