Created
March 26, 2020 21:33
-
-
Save bchiang7/d3f9f86365a59a2bb073da6e0f2460b5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (! (defined('WP_CLI') && WP_CLI)) { | |
return; | |
} | |
class Algolia_Command { | |
public function reindex($args, $assoc_args) { | |
... | |
} | |
public function get_config($args, $assoc_args) { | |
... | |
} | |
public function set_config($args, $assoc_args) { | |
... | |
} | |
} | |
WP_CLI::add_command('algolia', 'Algolia_Command'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment