Skip to content

Commit 52c46e9

Browse files
Pages for the new commands
1 parent a9ef7c0 commit 52c46e9

14 files changed

Lines changed: 284 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
layout: default
3+
title: 'wp comment meta list'
4+
---
5+
6+
`wp comment meta list` - List all metadata associated with an object.
7+
8+
<id>
9+
: ID for the object.
10+
11+
[\--keys=<keys>]
12+
: Limit output to metadata of specific keys.
13+
14+
[\--fields=<fields>]
15+
: Limit the output to specific row fields. Defaults to id,meta_key,meta_value.
16+
17+
[\--format=<format>]
18+
: Accepted values: table, csv, json, count. Default: table
19+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: default
3+
title: 'wp core verify-checksums'
4+
---
5+
6+
`wp core verify-checksums` - Verify WordPress files against WordPress.org's checksums.
7+
8+
9+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
layout: default
3+
title: 'wp cron event delete'
4+
---
5+
6+
`wp cron event delete` - Delete the next scheduled cron event for the given hook.
7+
8+
### OPTIONS
9+
10+
<hook>
11+
: The hook name
12+

commands/cron/event/index.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
layout: default
3+
title: 'wp cron event'
4+
---
5+
6+
`wp cron event` - Manage WP-Cron events.
7+
8+
9+
10+
### SUBCOMMANDS
11+
12+
<table>
13+
<thead>
14+
<tr>
15+
<th>Name</th>
16+
<th>Description</th>
17+
</tr>
18+
</thead>
19+
<tbody>
20+
<tr>
21+
<td><a href="/commands/cron/event/delete/">delete</a></td>
22+
<td>Delete the next scheduled cron event for the given hook.</td>
23+
</tr>
24+
<tr>
25+
<td><a href="/commands/cron/event/list/">list</a></td>
26+
<td>List scheduled cron events.</td>
27+
</tr>
28+
<tr>
29+
<td><a href="/commands/cron/event/run/">run</a></td>
30+
<td>Run the next scheduled cron event for the given hook.</td>
31+
</tr>
32+
<tr>
33+
<td><a href="/commands/cron/event/schedule/">schedule</a></td>
34+
<td>Schedule a new cron event.</td>
35+
</tr>
36+
</tbody>
37+
</table>

commands/cron/event/list/index.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
layout: default
3+
title: 'wp cron event list'
4+
---
5+
6+
`wp cron event list` - List scheduled cron events.
7+
8+
### OPTIONS
9+
10+
[\--fields=&lt;fields&gt;]
11+
: Limit the output to specific object fields. Available fields: hook, next_run, next_run_gmt, next_run_relative, recurrence.
12+
13+
[\--format=&lt;format&gt;]
14+
: Accepted values: table, json, csv, ids. Default: table.
15+
16+
### EXAMPLES
17+
18+
wp cron event list
19+
20+
wp cron event list --fields=hook,next_run --format=json
21+

commands/cron/event/run/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
layout: default
3+
title: 'wp cron event run'
4+
---
5+
6+
`wp cron event run` - Run the next scheduled cron event for the given hook.
7+
8+
### OPTIONS
9+
10+
&lt;hook&gt;
11+
: The hook name
12+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: default
3+
title: 'wp cron event schedule'
4+
---
5+
6+
`wp cron event schedule` - Schedule a new cron event.
7+
8+
### OPTIONS
9+
10+
&lt;hook&gt;
11+
: The hook name
12+
13+
[&lt;next-run&gt;]
14+
: A Unix timestamp or an English textual datetime description compatible with `strtotime()`. Defaults to now.
15+
16+
[&lt;recurrence&gt;]
17+
: How often the event should recur. See `wp cron schedule list` for available schedule names. Defaults to no recurrence.
18+
19+
[\--&lt;field&gt;=&lt;value&gt;]
20+
: Associative args for the event.
21+
22+
### EXAMPLES
23+
24+
wp cron event schedule cron_test
25+
26+
wp cron event schedule cron_test now hourly
27+
28+
wp cron event schedule cron_test '+1 hour' --foo=1 --bar=2
29+

commands/cron/index.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
layout: default
3+
title: 'wp cron'
4+
---
5+
6+
`wp cron` - Manage WP-Cron events and schedules.
7+
8+
9+
10+
### SUBCOMMANDS
11+
12+
<table>
13+
<thead>
14+
<tr>
15+
<th>Name</th>
16+
<th>Description</th>
17+
</tr>
18+
</thead>
19+
<tbody>
20+
<tr>
21+
<td><a href="/commands/cron/event/">event</a></td>
22+
<td>Manage WP-Cron events.</td>
23+
</tr>
24+
<tr>
25+
<td><a href="/commands/cron/schedule/">schedule</a></td>
26+
<td>Manage WP-Cron schedules.</td>
27+
</tr>
28+
<tr>
29+
<td><a href="/commands/cron/test/">test</a></td>
30+
<td>Test the WP Cron spawning system and report back its status.</td>
31+
</tr>
32+
</tbody>
33+
</table>

commands/cron/schedule/index.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
layout: default
3+
title: 'wp cron schedule'
4+
---
5+
6+
`wp cron schedule` - Manage WP-Cron schedules.
7+
8+
9+
10+
### SUBCOMMANDS
11+
12+
<table>
13+
<thead>
14+
<tr>
15+
<th>Name</th>
16+
<th>Description</th>
17+
</tr>
18+
</thead>
19+
<tbody>
20+
<tr>
21+
<td><a href="/commands/cron/schedule/list/">list</a></td>
22+
<td>List available cron schedules.</td>
23+
</tr>
24+
</tbody>
25+
</table>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
layout: default
3+
title: 'wp cron schedule list'
4+
---
5+
6+
`wp cron schedule list` - List available cron schedules.
7+
8+
### OPTIONS
9+
10+
[\--fields=&lt;fields&gt;]
11+
: Limit the output to specific object fields. Available fields: name, display, interval.
12+
13+
[\--format=&lt;format&gt;]
14+
: Accepted values: table, json, csv, ids. Default: table.
15+
16+
### EXAMPLES
17+
18+
wp cron schedule list
19+
20+
wp cron schedule list --fields=name --format=ids
21+

0 commit comments

Comments
 (0)