acf_field_wysiwyg::render_field_settingspublicACF 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

Method of the class: acf_field_wysiwyg{}

No Hooks.

Returns

null. Nothing (null).

Usage

$acf_field_wysiwyg = new acf_field_wysiwyg();
$acf_field_wysiwyg->render_field_settings( $field );
$field(required)
.

Changelog

Since 3.6 Introduced.

acf_field_wysiwyg::render_field_settings() code ACF 6.0.4

function render_field_settings( $field ) {
	acf_render_field_setting(
		$field,
		array(
			'label'        => __( 'Default Value', 'acf' ),
			'instructions' => __( 'Appears when creating a new post', 'acf' ),
			'type'         => 'textarea',
			'name'         => 'default_value',
		)
	);

}