hooks method
part of GWP tutorial : https://generatewp.com/group-post-series-custom-taxonomy
/*
* hooks
* Used to hook all our functions
* @return void
*/
function hooks(){
add_action( 'init', array( $this, 'register_post_series_taxonomy') );
if (! is_admin() ){
add_filter( 'the_content', array( $this, 'the_content' ), 35 );
}
}