Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Plugin_Locator::convert_plugins_to_paths( string[] $plugins )
Given an array of plugin slugs or paths, this will convert them to absolute paths and filter out the plugins that are not directory plugins. Note that array keys will also be included if they are plugin paths!
Description Description
Parameters Parameters
- $plugins
-
(Required) Plugin paths or slugs to filter.
Return Return
(string[])
Source Source
File: packages/woocommerce-admin/vendor/jetpack-autoloader/class-plugin-locator.php