Created
September 11, 2017 09:06
-
-
Save domantasg/741412729d65dbc30d0f32e9bc793ccd to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
/* | |
* Global Functions | |
*/ | |
// Remove 'auto-paragraphing' from posts/pages | |
remove_filter( 'the_content', 'wpautop' ); | |
/* | |
* Admin Control Panel Functions | |
*/ | |
// Add my menu page | |
add_action( 'admin_menu', 'ht_My_Menu_Page' ); | |
function ht_My_Menu_Page(){ | |
// CODE GOES HERE | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment