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.


Top ↑

Return Return

(string[])


Top ↑

Source Source

File: vendor/automattic/jetpack-autoloader/src/class-plugin-locator.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.