remove inline scripts from the_content() produced by plugins? olatechproFebruary 22, 20230 Views hey guys, any idea how I could filter all inline javascripts from the content()? thank you Post Views: 0 Related postsGet rid of this Strict Standards warningWooCommerce: get_current_screen not working with multi languageCan’t login on WordPressForce HTTPS using .htaccess – stuck in redirect loopWordPress: Ajax not working to insert, query and result dataHow Can I pass an image file to wp_handle_upload?
Not tested, but I imagine add_filter('the_content', 'wp_kses_post'); will scrub it good. Might need playing with priority. Log in to Reply
Not tested, but I imagine
will scrub it good. Might need playing with priority.