Skip to content

15 articles

#Plugins (page 2)

Every article tagged Plugins, newest first. Search all articles

  • Cutaway building: glowing machines bolted into the concrete basement always run, while ordinary movable furniture fills the floors above.Enterprise

    7 min read

    Must-use plugins in WordPress: what belongs there and how to load them

    WordPress MU plugins are PHP plugins that WordPress loads automatically from a special directory before normal plugins. Use them for code that is part of the platform and must stay enabled, then keep optional features and third-party packages in the normal plugins directory.

    • WordPress
    • Enterprise
    • Plugins
    Read article
  • Miniature builders add a new room to a lit, lived-in model house on scaffolding, the extension glowing on the blueprint below.Development

    5 min read

    WordPress plugin database migrations with dbDelta, done safely

    WordPress plugin database migrations should compare a stored schema version with the version your plugin expects, then run only the missing steps. Use dbDelta() for table creation and supported schema changes, and use explicit, guarded migrations for destructive or unsupported changes.

    • WordPress
    • Plugins
    • Database
    Read article
  • Sealed puzzle-piece crates roll off a truck through a scanner arch; one crate with a torn seal glows amber on the conveyor.Security

    8 min read

    WordPress plugin supply chain security: when the update itself is the attack

    WordPress plugin supply chain security treats the update channel itself as something you must verify, not just a way to receive fixes. Use trusted sources, inspect unusual releases, verify installed files, and stage updates so one bad package does not reach every site at once.

    • WordPress
    • Security
    • Plugins
    Read article
  • Single gears each spinning on their own small test stand with a green light, on a watchmaker's bench beside tweezers and a loupe.Development

    7 min read

    WordPress plugin unit testing with wp-env and PHPUnit

    WordPress plugin unit testing stays repeatable when pure PHP tests stay small and WordPress integration tests run in a wp-env environment. Set up wp-env, bootstrap the WordPress PHPUnit files through WP_TESTS_DIR, write tests with WP_UnitTestCase, then run the same command in GitHub Actions.

    • WordPress
    • Plugins
    • PHP
    Read article
  • A radar console sweeps over a map of puzzle-piece blips; an alert pin drops on one glowing piece and a work order prints at the side.Monitoring

    8 min read

    WordPress plugin vulnerability monitoring: from alert to fix

    WordPress vulnerability monitoring works when you keep a current inventory of installed plugins and themes. Compare exact versions with trusted vulnerability data, then record what you did with each match.

    • WordPress
    • Security
    • Monitoring
    Read article
  • A brass key console feeds one punched card into a big machine that sorts thousands of small glowing pieces into bins in batches.Development

    6 min read

    How to write a custom WP-CLI command for your plugin

    A WP CLI custom command belongs in your plugin when a maintenance or data task needs a repeatable command-line interface. Register a command class only when WP-CLI is running, describe its arguments in PHPDoc, then add dry-run handling, bounded batches, machine-readable output and exit codes.

    • WP-CLI
    • WordPress
    • Plugins
    Read article