Last active
August 29, 2015 14:23
-
-
Save Kaiderella/6af9bcf9f19214617cf1 to your computer and use it in GitHub Desktop.
Kích hoạt các chức năng ẩn của trình soạn thảo WordPress
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
function enable_more_buttons($buttons) { | |
$buttons[] = 'fontselect'; | |
$buttons[] = 'fontsizeselect'; | |
$buttons[] = 'styleselect'; | |
$buttons[] = 'backcolor'; | |
$buttons[] = 'newdocument'; | |
$buttons[] = 'cut'; | |
$buttons[] = 'copy'; | |
$buttons[] = 'charmap'; | |
$buttons[] = 'hr'; | |
$buttons[] = 'visualaid'; | |
return $buttons; | |
} | |
add_filter("mce_buttons_3", "enable_more_buttons"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment