Plugins: Improve plugin_install_description filter's docs.

Refer developers to `plugins_api()` for array of plugin data.

Props afragen, pbiron, SergeyBiryukov, costdev.
Fixes #55480.



git-svn-id: https://develop.svn.wordpress.org/trunk@53328 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Wilson 2022-05-02 02:44:04 +00:00
parent 63f3914e51
commit 1b9551de27

View File

@ -521,7 +521,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
* @since 6.0.0
*
* @param string $description Plugin card description.
* @param array $plugin An array of plugin data. See the {@see 'plugin_row_meta'} filter
* @param array $plugin An array of plugin data. See {@see plugins_api()}
* for the list of possible values.
*/
$description = apply_filters( 'plugin_install_description', $description, $plugin );