Last active
December 27, 2015 02:19
-
-
Save billerickson/7251246 to your computer and use it in GitHub Desktop.
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 | |
/** | |
* Add Genesis Title Toggle to Events | |
* | |
* @link https://github.com/billerickson/Genesis-Title-Toggle/issues/4 | |
* @author Bill Erickson | |
* | |
* @param array $post_types | |
* @return array | |
*/ | |
function be_title_toggle_on_events( $post_types ) { | |
$post_types[] = 'events'; | |
return $post_types; | |
} | |
add_filter( 'be_title_toggle_post_types', 'be_title_toggle_on_events' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment