Skip to content

[Feature] Add Extension class for WordPress plugin lifecycle management - #14

Merged
ahamed merged 2 commits into
themeum:mainfrom
ashraful1971:feat/extension-installer
Sep 18, 2026
Merged

ahamed merged 2 commits into
themeum:mainfrom
ashraful1971:feat/extension-installer

Conversation

@ashraful1971

Copy link
Copy Markdown
Contributor

Provides install(), is_installed(), is_active(), activate(), deactivate(), and remove() so consuming plugins (Kirki, Kirki Ecommerce, GrowFund) don't each reimplement plugin install/activate against WordPress core's upgrader classes. install() now lets the caller control ZIP overwrite behavior and refuses to reactivate a plugin found already active after a reinstall.

Provides install(), is_installed(), is_active(), activate(), deactivate(),
and remove() so consuming plugins (Kirki, Kirki Ecommerce, GrowFund) don't
each reimplement plugin install/activate against WordPress core's upgrader
classes. install() now lets the caller control ZIP overwrite behavior and
refuses to reactivate a plugin found already active after a reinstall.
Comment thread src/Wordpress/Extension.php Outdated
@ahamed
ahamed merged commit ef0aa54 into themeum:main Sep 18, 2026
1 check passed
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.

2 participants