Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#58055 new enhancement

Add a filter to get_plugins() and get_plugin_data()

Reported by: yehi Owned by:
Priority: normal Milestone: Awaiting Review
Component: Plugins Version: 6.3
Severity: normal Keywords:
Cc: Focuses:

Description

Hi I would like to suggest adding apply_filters to functions:
get_plugins()
get_plugin_data()
to edit and run triggers before the function returns.

The all_plugins filter can be used on the plugins.php page, but not on the update-core.php page. That's why I think it's worth adding the filter into the function

Change History (1)

#1 @SergeyBiryukov
4 years ago

  • Summary suggest adding apply_filters → Add a filter to get_plugins() and get_plugin_data()

Related: #57278

Note: See TracTickets for help on using tickets.