public function registerTaxonomy()
    {
        if (!taxonomy_exists($this->name)) {
            // create options for the Taxonomy
            $options = $this->createOptions();

            // register the Taxonomy with WordPress
            register_taxonomy($this->name, null, $options);
        }
    }
public function registerTaxonomy()
    {
        if (!taxonomy_exists($this->name)) {
            // create options for the Taxonomy
            $options = $this->createOptions();

            // register the Taxonomy with WordPress
            register_taxonomy($this->name, null, $options);
        }
    }
public function registerTaxonomy ( ) { if ( ! taxonomy_exists ( $ this -> name ) ) { // create options for the Taxonomy $ options = $ this -> createOptions ( ) ; // register the Taxonomy with WordPress register_taxonomy ( $ this -> name , null , $ options ) ; } }
Register the Taxonomy to WordPress
@return void
Register the Taxonomy to WordPress