Created
February 25, 2015 16:11
-
-
Save duogeekdev/25d2e0749005c97be337 to your computer and use it in GitHub Desktop.
mu-plugins sample
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 | |
function do_something() { | |
// Here we are doing something | |
} | |
function do_another_thing() { | |
$some_variable = do_something(); | |
// Here we are doing another thing | |
} | |
// Now use do_another_thing() in anywhere you want |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment