Home › Forums › Front-end Issues › Use textarea instead of TinyMCE for post_content › Reply To: Use textarea instead of TinyMCE for post_content
Found the way by myself:
add_filter('acf/get_valid_field/type=wysiwyg', 'my_get_valid_field_post_content');
function my_get_valid_field_post_content( $field )
{
if ( $field['name'] == 'post_content' )
$field['type'] = 'textarea';
return $field;
}
But please reply to part 2 of my first message about difference between version 4 and 5 and how they work with post_content.
Thanks in advance!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.