acf_field_gallery::input_admin_enqueue_scripts
description
Метод класса: acf_field_gallery{}
Хуков нет.
Возвращает
$post_id. (int)
Использование
$acf_field_gallery = new acf_field_gallery(); $acf_field_gallery->input_admin_enqueue_scripts();
Список изменений
| С версии 5.3.2 | Введена. |
Код acf_field_gallery::input_admin_enqueue_scripts() acf field gallery::input admin enqueue scripts ACF 6.4.2
function input_admin_enqueue_scripts() {
// localize
acf_localize_text(
array(
'Add Image to Gallery' => __( 'Add Image to Gallery', 'acf' ),
'Maximum selection reached' => __( 'Maximum selection reached', 'acf' ),
)
);
}