acf_updates() ACF 5.5.12
The main function responsible for returning the one true acf_updates instance to functions everywhere. Use this function like you would a global variable, except without needing to declare the global.
Example: <?php $acf_updates = acf_updates(); ?>
Хуков нет.
Возвращает
Объект.
Использование
acf_updates();
Список изменений
С версии 5.5.12 | Введена. |
Код acf_updates() acf updates ACF 5.9.1
function acf_updates() {
global $acf_updates;
if( !isset($acf_updates) ) {
$acf_updates = new ACF_Updates();
}
return $acf_updates;
}