• Resolved James Hunt

    (@bonkerz)


    I realise this probably runs counter-intuitively to why you created this plugin, but on a particular clients site I’d like to restrict their use of the icons to just the custom set of icons I’ve provided. Is that possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter James Hunt

    (@bonkerz)

    Oop, worked it out based on your blog post (thanks!)

    For anyone else using the same filter, but change:

    const allIcons = [].concat( icons, customIconType );

    to

    const allIcons = [].concat( customIconType );

    to only return the custom set. Probably a better way to do it, but this works for me for now. Thanks

    i rather would like to know how to trigger that beautiful icon medialibrary UI in my own theme ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable WordPress icons?’ is closed to new replies.