Disable the unfiltered_html capability requirement in GravityView

GravityView requires users to have the unfiltered_html capability in order to edit a View. This is because GravityView allows users to add HTML that is output on the front of a site. That ability can be abused to embed malicious scripts on the site.

If you want to disable this requirement, we recommend modifying a role or cloning a role and adding that capability. you can do so by adding this code to your site (not sure where to add the code?):

add_filter( 'gravityview/security/require_unfiltered_html', '__return_false' );
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.