Created
September 13, 2023 08:09
-
-
Save stefanRepac/15c7fd3a48f6f4af39c042ab6a136908 to your computer and use it in GitHub Desktop.
ACF WYSIWYG Editor add underline option
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
##-- ACF WYSIWYG Editor add underline option | |
add_filter( 'acf/fields/wysiwyg/toolbars', 'my_toolbars' ); | |
function my_toolbars( $toolbars ) { | |
$toolbars['Full'][1][3] = 'underline'; | |
return $toolbars; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment