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.

Path_Processor::find_absolute_plugin_path( string $normalized_path, array $directories_to_check )

Given a file and a list of directories to check, this method will try to figure out the absolute path to the file in question.


Description Description


Parameters Parameters

$normalized_path

(Required) The normalized path to 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.


Top ↑

Return Return

(string|null) The absolute path to the plugin file, otherwise null.


Top ↑

Source Source

File: vendor/automattic/jetpack-autoloader/src/class-path-processor.php


			


Top ↑

User Contributed Notes User Contributed Notes

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