I'm writing a WP CLI command which creates and updates taxonomies using
wp_insert_term. Actions on my custom taxonomies are not accepted since they don't show up as registered.
The wp-cli included Term_Command itself uses
wp_insert_term and allows actions on default taxonomies but errors on custom taxonomies.
Various searches suggest custom taxonomies aren't registered until
init. Is there a way to run
init inside wp-cli so custom taxonomies can be manipulated? Anyone got any other ideas?