Skip to content

feat: add SVG icons for WordPress 7.1+ - #25

Open
qarayahya wants to merge 4 commits into
mainfrom
feature/register-icons
Open

qarayahya wants to merge 4 commits into
mainfrom
feature/register-icons

Conversation

@qarayahya

@qarayahya qarayahya commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

This PR adds a custom icon collection to Inspiro using the new WordPress 7.1 Icon Registration API. It registers an inspiro collection with 30 icons from Heroicons (MIT), available in the core Icon block and via wp_get_icon().

Note: registration is guarded with function_exists(), so nothing changes on WordPress 6.4–7.0.

Note: version bumped to 2.2.4

image

@qarayahya
qarayahya requested a review from ciorici September 10, 2026 14:22
@qarayahya
qarayahya marked this pull request as ready for review September 10, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant