OSDN Git Service
(root)
/
wvm
/
wvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b249b26
)
add site meta commands
author
Tomasz Ratajczak
<tomasz.ratajczak@espeo.pl>
Fri, 7 Jun 2013 14:26:54 +0000
(16:26 +0200)
committer
scribu
<mail@scribu.net>
Sat, 15 Jun 2013 09:29:23 +0000
(12:29 +0300)
php/commands/site-meta.php
[new file with mode: 0644]
patch
|
blob
diff --git a/php/commands/site-meta.php
b/php/commands/site-meta.php
new file mode 100644
(file)
index 0000000..
3642167
--- /dev/null
+++ b/
php/commands/site-meta.php
@@ -0,0
+1,13
@@
+<?php
+
+/**
+ * Manage site custom fields.
+ *
+ * @package wp-cli
+ */
+class Site_Meta_Command extends \WP_CLI\CommandWithMeta {
+ protected $meta_type = 'site';
+}
+
+WP_CLI::add_command( 'site-meta', 'Site_Meta_Command' );
+