Skip to content

Commit cf4cb23

Browse files
committed
Improve documentation
1 parent 80d4b66 commit cf4cb23

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/Comment_Command.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,9 @@ public function get( $args, $assoc_args ) {
243243
/**
244244
* Gets a list of comments.
245245
*
246+
* Display comments based on all arguments supported by
247+
* [WP_Comment_Query()](https://developer.wordpress.org/reference/classes/WP_Comment_Query/__construct/).
248+
*
246249
* ## OPTIONS
247250
*
248251
* [--<field>=<value>]

src/Post_Command.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,9 @@ public function delete( $args, $assoc_args ) {
470470
/**
471471
* Gets a list of posts.
472472
*
473+
* Display posts based on all arguments supported by
474+
* [WP_Query()](https://developer.wordpress.org/reference/classes/wp_query/).
475+
*
473476
* ## OPTIONS
474477
*
475478
* [--<field>=<value>]

0 commit comments

Comments
 (0)