Created
June 17, 2016 17:21
-
-
Save jtsternberg/287a0b32b022c2601a7804ad96f0ee8f to your computer and use it in GitHub Desktop.
Make GC Sermons 'Series' Taxonomy hierarchical. A possible workaround for https://core.trac.wordpress.org/ticket/14691
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 series_taxonomy_override( $args ) { | |
$args['arg_overrides']['hierarchical'] = true; | |
return $args; | |
} | |
add_filter( 'gcs_taxonomies_series', array( $this, 'series_taxonomy_override' ) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment