wp_plugin_list
List installed WordPress plugins from an allowed site by executing the WP-CLI plugin list command, outputting JSON.
Instructions
Lees de geïnstalleerde WordPress-plugins van een toegestane site.
site_path moet in wp_allowed_sites staan en wp-config.php
bevatten. De tool voert wp plugin list --format=json uit, standaard
als www-data; met as_www_data=False als root met --allow-root.
De bedoelde operatie is alleen-lezen en heeft een timeout van 60 seconden.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_path | Yes | ||
| as_www_data | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||