Created
May 9, 2024 00:17
-
-
Save mt8/65a0153f6d6c1ed2fd7eb56f030fdc2d to your computer and use it in GitHub Desktop.
[WordPress] ACF 6.2.9 からの the_field() の自動エスケープを強制的にさせないコード
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'acf/the_field/allow_unsafe_html', function ( $allowed, $atts ) { | |
return true; | |
}, 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment