acf_field_wysiwyg::render_field_settings()
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_wysiwyg{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$acf_field_wysiwyg = new acf_field_wysiwyg(); $acf_field_wysiwyg->render_field_settings( $field );
- $field (обязательный)
- -
Список изменений
С версии 3.6 | Введена. |
Код acf_field_wysiwyg::render_field_settings() acf field wysiwyg::render field settings 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', ) ); }