-
-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: New icon picker field #4782
base: main
Are you sure you want to change the base?
Conversation
This is required to get all the hooks in place in time
Why store type and icon? Why not just store the type and get the associated type with the icon selected? |
That is how wp-icon-picker handles it.
|
Can we store formatted separated by pipe "|"? Like "dashicons|the-icon" |
I don't see why not. A space would work even better I guess. |
Is there any developement or a roadmap to add this icon picker in Pods? |
Issue: #4298
It will add a composer dependency for WP Icon Picker library:
https://github.com/ineagu/wp-icon-picker
TODO:
field::display()
implementationfield::ui()
implementationarray( 'type' => '', 'icon' => '' )
)