acf_field_repeater::input_admin_enqueue_scripts
Localizes text for the repeater field.
Method of the class: acf_field_repeater{}
No Hooks.
Returns
null. Nothing (null).
Usage
$acf_field_repeater = new acf_field_repeater(); $acf_field_repeater->input_admin_enqueue_scripts();
Changelog
| Since 5.3.2 | Introduced. |
acf_field_repeater::input_admin_enqueue_scripts() acf field repeater::input admin enqueue scripts code ACF 6.8.8
public function input_admin_enqueue_scripts() {
acf_localize_text(
array(
'Minimum rows not reached ({min} rows)' => __( 'Minimum rows not reached ({min} rows)', 'acf' ),
'Maximum rows reached ({max} rows)' => __( 'Maximum rows reached ({max} rows)', 'acf' ),
'Error loading page' => __( 'Error loading page', 'acf' ),
'Order will be assigned upon save' => __( 'Order will be assigned upon save', 'acf' ),
)
);
}