src/Controller/ControllerTraits/TaxonomiesTrait.php
final protected function initTaxonomiesTrait(): void {
		
		// notice that this action is added at the 15th priority.  since
		// taxonomies and post types are used in conjuction with each other,
		// we want to be sure that our types are registered before we start
		// to link taxonomies to them.  so, the PostTypesTrait leaves its
		// registration at priority 10.  then, this init action will process
		// at 15.
		
		add_action("init", function () {
			foreach ($this->getTaxonomies() as $taxonomy) {
				$this->registerTaxonomy($taxonomy);
			}
		}, 15);
	}
final protected function initTaxonomiesTrait(): void {
		
		// notice that this action is added at the 15th priority.  since
		// taxonomies and post types are used in conjuction with each other,
		// we want to be sure that our types are registered before we start
		// to link taxonomies to them.  so, the PostTypesTrait leaves its
		// registration at priority 10.  then, this init action will process
		// at 15.
		
		add_action("init", function () {
			foreach ($this->getTaxonomies() as $taxonomy) {
				$this->registerTaxonomy($taxonomy);
			}
		}, 15);
	}
final protected function initTaxonomiesTrait ( ) : void { // notice that this action is added at the 15th priority.  since // taxonomies and post types are used in conjuction with each other, // we want to be sure that our types are registered before we start // to link taxonomies to them.  so, the PostTypesTrait leaves its // registration at priority 10.  then, this init action will process // at 15. add_action ( "init" , function ( ) { foreach ( $ this -> getTaxonomies ( ) as $ taxonomy ) { $ this -> registerTaxonomy ( $ taxonomy ) ; } } , 15 ) ; }
Initializes this trait and registers these taxonomies using the
appropriate WordPress action hook.

@return void
Initializes this trait and registers these taxonomies using the appropriate WordPress action hook .