Skip to content

Developing a WordPress Plugin #1084

Answered by hirasso
hirasso asked this question in Q&A
Nov 4, 2024 · 3 comments · 5 replies
Discussion options

You must be logged in to vote

Wanted to get back here to post my current solution. People interested can clone my plugin from here: hirasso/wp-thumbhash.

Decisions

  • I decided to not publish my plugin on the official WP.org plugin repository. Instead, I support plugin updates via composer or via the normal WordPress plugin update process / WP-CLI, powered by Plugin Update Checker.
  • Even for installs via composer, my plugin is being scoped (for now). The packagist package is named hirasso/wp-thumbhash, but it actually points at hirasso/wp-thumbhash-dist.

What I Did

I've created a small cli.js that takes care of all the things I need. I execute the relevant commands in my ci and release workflows. They can also be execut…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@hirasso
Comment options

@hirasso
Comment options

@theofidry
Comment options

@hirasso
Comment options

@hirasso
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by hirasso
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants