Make WordPress Core

Opened 11 months ago

Last modified 11 months ago

#58055 new enhancement

Add a filter to get_plugins() and get_plugin_data()

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

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
11 months ago

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

Related: #57278

Note: See TracTickets for help on using tickets.