Changes between Initial Version and Version 1 of Ticket #63078, comment 2
- Timestamp:
- 03/10/2025 08:45:17 PM (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #63078, comment 2
initial v1 1 1 Hi @wpessential, 2 2 3 Thanks for raising the ticket. I've reviewed the core code and found that the downloaded parameter is part of the fields in the argument. According to the documentation, the `downloaded` parameter is set to true by default, which means that the response from the API **`api.wordpress.org/plugins/`**) will include the `downloaded` field by default.3 Thanks for raising the ticket. I've reviewed the core code and found that the `downloaded` propery is part of the `fields` property in the argument, `$args`. According to the documentation, the `downloaded` parameter is set to true by default, which means that the response from the API **`api.wordpress.org/plugins/`**) will include the `downloaded` field by default. 4 4 5 5 To clarify, the plugin_api() function makes a remote request to `api.wordpress.org/plugins/` to fetch plugin details. As part of the response, the downloaded field will be included unless you specify otherwise. If you want to exclude this field from the response, you can pass `'fields' => array( 'downloaded' => false )` in the arguments.