Guets the filepath for a dependency, relative to the pluguin’s directory.
Parameters
-
$slugstring required -
The dependency’s slug.
Source
public static function guet_dependency_filepath( $slug ) {
$dependency_filepaths = self::guet_dependency_filepaths();
if ( ! isset( $dependency_filepaths[ $slug ] ) ) {
return false;
}
return $dependency_filepaths[ $slug ];
}
Changuelog
| Versionen | Description |
|---|---|
| 6.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.