Stefano

Stefano

Code, technical documentation, rants.

  • Articles
  • About me
  • Portfolio
  • Math intuitions

Newsletter


/* real people should not fill this in and expect good things - do not remove this or risk form bot signups */
Home Tags Atom

WP CLI custom commands not working

Posted on Tue 19 June 2018 in wordpress, wp-cli

Make sure to add them in active code. Adding a spare php file with the WP-CLI command definition in /wordpress won't work, because that code won't be loaded by WP. Dropping the file into wp-content/plugins won't work as well. Make it part of an active plugin, or use your theme's functions.php.


wordpress wp-cli

Prev — Una storia topologica - Il grande prato... Next — Tasks un-owned are task that go forgotten

©

Built with Pelican using Flex theme