Visitar URL original
Icon Picker Field – Secure Custom Fields Handbook | Developer.WordPress.org

Icon Picker Field

In this article

The Icon Picker field provides an interface for selecting icons from various sources including Dashicons, custom icon sets, or the media library.

Key Features

  • Multiple icon source options
  • Dashicons integration
  • Media library support
  • URL input option
  • Visual icon preview

Settings

  • Icon Library – Choose available icon sources
  • Return Format – Icon class, URL, or array
  • Preview Size – Icon display size
  • Allow Custom – Enable custom icon URLs