acf_get_path() ACF 5.0.0
Returns the plugin path to a specified file.
Хуков нет.
Возвращает
Строку.
Использование
acf_get_path( $filename );
- $filename(строка)
- The specified file.
По умолчанию: ''
Список изменений
С версии 5.0.0 | Введена. |
Код acf_get_path() acf get path ACF 5.9.1
function acf_get_path( $filename = '' ) {
return ACF_PATH . ltrim($filename, '/');
}