trigger_include_path_search

Description

Filter the boolean for include path of the custom file get contents function.

Parameters

$use_include_path (bool) (required) If set to true, it will trigger include path search.

Example

$app = \Liten\Liten::getInstance();

function trigger_include_path_search($use_include_path) {
    $use_include_path = true;
    return $use_include_path;
}
$app->hook->add_filter('trigger_include_path_search', 'trigger_include_path_search', 10, 1);

Change Log

Since 6.2.4

Source File

trigger_include_path_search hook is located in app/src/functions/core-function.php.

See Also