Easy way to allow iframes in ACF text field?
-
Wordfence seems to be blocking iFrames that I have embedded using an ACF text field.
I have gone through the steps and whitelisted the url but I still cant see the iFrame.
Would something like this be beneficial?add_filter(‘wordfence_whitelist_activity’, function($patterns) {
// Allow iframes from specific URLs
$patterns[] = ‘https://www.visionabacus.net’;
return $patterns;
});
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.