acf_include()
acf_include
Includes a file within the ACF plugin.
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
acf_include( $filename );
- $filename(строка)
- The specified file.
По умолчанию: ''
Список изменений
С версии 5.0.0 | Введена. |
Код acf_include() acf include ACF 6.0.4
function acf_include( $filename = '' ) { $file_path = acf_get_path( $filename ); if ( file_exists( $file_path ) ) { include_once $file_path; } }