The field type of post_content is fixed to wysiwyg. This isn’t always desired.
It’s really easy to change the field type.
In \api\api-template.php, add…
'post_content_field' => 'wysiwyg',
…to the wp_parse_args array in the acf_form() function:
Below that:
if ($args['post_content'])
{
$fields[] = acf_get_valid_field(array(
[...]
'type' => $args['post_content_field'],
[...]
));
}
And there you go. You can change the field type with post_content_field now.
<?php acf_form(array(
[...]
'post_content_field' => 'textarea',
[...]
)); ?>
Hi @fireundubh,
Thank you for the recommendation.
This feature request has been added to the developer’s to do list and hopefully it will see its way in to the plugin in the near future.
Have a good one!