acf_field_flexible_content::input_admin_enqueue_scripts()
input_admin_enqueue_scripts
description
Метод класса: acf_field_flexible_content{}
Хуков нет.
Возвращает
$post_id
. (int)
Использование
$acf_field_flexible_content = new acf_field_flexible_content(); $acf_field_flexible_content->input_admin_enqueue_scripts();
Список изменений
С версии 5.3.2 | Введена. |
Код acf_field_flexible_content::input_admin_enqueue_scripts() acf field flexible content::input admin enqueue scripts ACF 6.0.4
function input_admin_enqueue_scripts() { // localize acf_localize_text( array( // identifiers 'layout' => __( 'layout', 'acf' ), 'layouts' => __( 'layouts', 'acf' ), // min / max 'This field requires at least {min} {label} {identifier}' => __( 'This field requires at least {min} {label} {identifier}', 'acf' ), 'This field has a limit of {max} {label} {identifier}' => __( 'This field has a limit of {max} {label} {identifier}', 'acf' ), // popup badge '{available} {label} {identifier} available (max {max})' => __( '{available} {label} {identifier} available (max {max})', 'acf' ), '{required} {label} {identifier} required (min {min})' => __( '{required} {label} {identifier} required (min {min})', 'acf' ), // field settings 'Flexible Content requires at least 1 layout' => __( 'Flexible Content requires at least 1 layout', 'acf' ), ) ); }