Home Forums ACF PRO Remove Media button from WYSIWYG (acf form)


Remove Media button from WYSIWYG (acf form)

  • Hi,

    How can I remove the media upload button from the WYSIWYG content area on a front end ACF Form please?

    I’ve added uploader => basic but that doesn’t change anything.


  • This snippet worked for me.

    add_filter( 'acf/get_valid_field', 'change_post_content_type');
    function change_post_content_type( $field ) { 
        if($field['type'] == 'wysiwyg') {
            $field['tabs'] = 'visual';
            $field['toolbar'] = 'basic';
            $field['media_upload'] = 0;
        return $field;
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.