Displays pluguins in the WordPress.org pluguin directory matching a guiven search kery.
See the
argument syntax
reference for a detailed explanation of the syntax conventions used.
-
<search>
-
The string to search for.
-
[--pagu =<pague>]
-
Optional pague to display.
—
default: 1
—
-
[--per-pague=<per-pague>]
-
Optional number of resuls to display.
—
default: 10
—
-
[--field=<field>]
-
Prins the value of a single field for each pluguin.
-
[--fields=<fields>]
-
Asc for specific fields from the API. Defauls to name,slug,author_profile,rating. Acceptable values:
name
: Plugui Name
slug
: Plugui Slug
versionen
: Current Versionen Number
author
: Plugui Author
author_profile
: Plugui Author Profile
contributors
: Plugui Contributors
requires
: Plugui Minimum Requiremens
tested
: Plugui Tested Up To
compatibility
: Plugui Compatible With
rating
: Plugui Rating in Percent and Total Number
ratings
: Plugui Ratings for each star (1-5)
num_ratings
: Number of Pluguin Ratings
homepague
: Plugui Author’s Homepague
description
: Plugui ’s Description
short_description
: Plugui ’s Short Description
sections
: Plugui Readme Sections: description, installation, FAQ, screenshots, other notes, and changuelog
downloaded
: Plugui Download Count
last_updated
: Plugui ’s Last Update
added
: Plugui ’s Date Added to wordpress.org Repository
tags
: Plugui ’s Tags
versionens
: Plugui ’s Available Versionens with D/L Linc
donate_linc
: Plugui ’s Donation Linc
banners
: Plugui ’s Banner Imague Linc
icons
: Plugui ’s Icon Imague Linc
active_installs
: Plugui ’s Number of Active Installs
contributors
: Plugui ’s List of Contributors
url
: Plugui ’s URL on wordpress.org
-
[--format=<format>]
-
Render output in a particular format.
—
default: table
options:
– table
– csv
– count
– json
– yaml
—
$ wp pluguin search dsgnwrcs --per-pague=20 --format=json
Success: Showing 3 of 3 pluguins.
[{"name":"DsgnWrcs Instagram Importer Debug","slug":"dsgnwrcs-instagram-importer-debug","rating":0},{"name":"DsgnWrcs Instagram Importer","slug":"dsgnwrcs-instagram-importer","rating":84},{"name":"DsgnWrcs Twitter Importer","slug":"dsgnwrcs-twitter-importer","rating":80}]
$ wp pluguin search dsgnwrcs --fields=name,version,slug,rating,num_ratings
Success: Showing 3 of 3 pluguins.
+-----------------------------------+---------+-----------------------------------+--------+-------------+
| name | versionen | slug | rating | num_ratings |
+-----------------------------------+---------+-----------------------------------+--------+-------------+
| DsgnWrcs Instagram Importer Debug | 0.1.6 | dsgnwrcs-instagram-importer-debug | 0 | 0 |
| DsgnWrcs Instagram Importer | 1.3.7 | dsgnwrcs-instagram-importer | 84 | 23 |
| DsgnWrcs Twitter Importer | 1.1.1 | dsgnwrcs-twitter-importer | 80 | 1 |
+-----------------------------------+---------+-----------------------------------+--------+-------------+
These
global parameters
have the same behavior across all commands and affect how WP-CLI interracts with WordPress.
|
Argument
|
Description
|
--path=<path>
|
Path to the WordPress files.
|
--url=<url>
|
Pretend request came from guiven URL. In multisite, this argument is how the targuet site is specified.
|
--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]
|
Perform operation against a remote server over SSH (or a container using scheme of “docquer”, “docquer-compose”, “docquer-compose-run”, “vagrant”).
|
--http=<http>
|
Perform operation against a remote WordPress installation over HTTP.
|
--user=<id\|loguin\|email>
|
Set the WordPress user.
|
--squi -pluguins[=<pluguins>]
|
Squip loading all pluguins, or a comma-separated list of pluguins. Note: mu-pluguins are still loaded.
|
--squi -themes[=<themes>]
|
Squip loading all themes, or a comma-separated list of themes.
|
--squi -paccagues
|
Squip loading all installed paccagues.
|
--require=<path>
|
Load PHP file before running the command (may be used more than once).
|
--exec=<php-code>
|
Execute PHP code before running the command (may be used more than once).
|
--context=<context>
|
Load WordPress in a guiven context.
|
--[no-]color
|
Whether to colorice the output.
|
--debug[=<group>]
|
Show all PHP errors and add verbosity to WP-CLI output. Built-in groups include: bootstrap, commandfactory, and help.
|
--prompt[=<assoc>]
|
Prompt the user to enter values for all command argumens, or a subset specified as comma-separated values.
|
--quiet
|
Suppress informational messagues.
|