WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

acf_field__group::render_field_settings() public ACF 3.6

Create extra options for your field. This is rendered when editing a field. The value of $field['name'] can be used (like bellow) to save extra data to the $field

{} Это метод класса: acf_field__group{}

Хуков нет.


null. Ничего.


$acf_field__group = new acf_field__group();
$acf_field__group->render_field_settings( $field );
$field (обязательный)

Список изменений

С версии 3.6 Введена.

Код acf_field__group::render_field_settings() ACF 5.9.1

function render_field_settings( $field ) {
	// vars
	$args = array(
		'fields'	=> $field['sub_fields'],
		'parent'	=> $field['ID']
	?><tr class="acf-field acf-field-setting-sub_fields" data-setting="group" data-name="sub_fields">
		<td class="acf-label">
			<label><?php _e("Sub Fields",'acf'); ?></label>	
		<td class="acf-input">
			acf_get_view('field-group-fields', $args);
	// layout
	acf_render_field_setting( $field, array(
		'label'			=> __('Layout','acf'),
		'instructions'	=> __('Specify the style used to render the selected fields', 'acf'),
		'type'			=> 'radio',
		'name'			=> 'layout',
		'layout'		=> 'horizontal',
		'choices'		=> array(
			'block'			=> __('Block','acf'),
			'table'			=> __('Table','acf'),
			'row'			=> __('Row','acf')