ActionScheduler_wpPostStore_TaxonomyRegistrar{}
Class ActionScheduler_wpPostStore_TaxonomyRegistrar
Hooks from the class
Usage
$ActionScheduler_wpPostStore_TaxonomyRegistrar = new ActionScheduler_wpPostStore_TaxonomyRegistrar(); // use class methods
Methods
- public register()
- protected taxonomy_args()
ActionScheduler_wpPostStore_TaxonomyRegistrar{} ActionScheduler wpPostStore TaxonomyRegistrar{} code WC 9.6.0
class ActionScheduler_wpPostStore_TaxonomyRegistrar { /** * Registrar. */ public function register() { register_taxonomy( ActionScheduler_wpPostStore::GROUP_TAXONOMY, ActionScheduler_wpPostStore::POST_TYPE, $this->taxonomy_args() ); } /** * Get taxonomy arguments. */ protected function taxonomy_args() { $args = array( 'label' => __( 'Action Group', 'woocommerce' ), 'public' => false, 'hierarchical' => false, 'show_admin_column' => true, 'query_var' => false, 'rewrite' => false, ); $args = apply_filters( 'action_scheduler_taxonomy_args', $args ); return $args; } }