Path_Processor::find_directory_with_autoloader( string $file, array $directories_to_check )
Given a file and an array of places it might be, this will find the absolute path and return it.
Description Description
Parameters Parameters
- $file
-
(Required) The plugin or theme file to resolve.
- $directories_to_check
-
(Required) The directories we should check for the file if it isn't an absolute path.
Return Return
(string|false) Returns the absolute path to the directory, otherwise false.
Source Source
File: vendor/automattic/jetpack-autoloader/src/class-path-processor.php