WP_CLI\Utils

load_file()WP-CLI 1.0

Load a file.

Using require() directly inside a class grants access to private methods to the loaded code, hence this wrapper helper.

Хуков нет.

Возвращает

null. Ничего (null).

Использование

load_file( $path );
$path(строка) (обязательный)
.

Код load_file() WP-CLI 2.13.0-alpha

function load_file( $path ) {
	require_once $path;
}