Created
May 10, 2013 15:45
-
-
Save technosailor/5555282 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 | |
class Some_Child_Theme { | |
public function __construct() { | |
$this->hooks(); | |
} | |
public function hooks() { | |
add_action( 'genesis_setup', array( $this, 'genesis_setup' ), 15 ); | |
} | |
public function genesis_setup() { | |
remove_action( 'genesis_header', 'genesis_header_markup_open', 5 ); | |
remove_action( 'genesis_header', 'genesis_do_header' ); | |
remove_action( 'genesis_header', 'genesis_header_markup_close', 15 ); | |
} | |
} | |
new Some_Child_Theme; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment