Created
October 29, 2013 15:45
-
-
Save holisticnetworking/7217183 to your computer and use it in GitHub Desktop.
Extending the ParentFunctions class in a child theme.
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
class ChildFunctions extends ParentFunctions { | |
function setup() { | |
// No need to declare another name for this function, simple rewrite it as necessary | |
} | |
/* Giddyup */ | |
public function ChildFunctions() { | |
parent::ParentFunctions(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment