PluginProbe
WANotifier for Forms and Actions / 3.0.0
WANotifier for Forms and Actions v3.0.0
3.1.1 3.1.0 3.0.4 2.7.10 2.7.11 2.7.12 2.7.13 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 3.0.0 3.0.1 3.0.2 3.0.3 trunk 0.1.0 0.1.1 1.0.0 1.0.1 1.0.2 All 67 releases
notifier / libraries / action-scheduler / classes / data-stores / ActionScheduler_wpPostStore_TaxonomyRegistrar.php

ActionScheduler_wpPostStore_TaxonomyRegistrar.php in WANotifier for Forms and Actions 3.0.0, at libraries/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore_TaxonomyRegistrar.php

26 lines 650 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Class ActionScheduler_wpPostStore_TaxonomyRegistrar
5 * @codeCoverageIgnore
6 */
7 class ActionScheduler_wpPostStore_TaxonomyRegistrar {
8 public function register() {
9 register_taxonomy( ActionScheduler_wpPostStore::GROUP_TAXONOMY, ActionScheduler_wpPostStore::POST_TYPE, $this->taxonomy_args() );
10 }
11
12 protected function taxonomy_args() {
13 $args = array(
14 'label' => __( 'Action Group', 'action-scheduler' ),
15 'public' => false,
16 'hierarchical' => false,
17 'show_admin_column' => true,
18 'query_var' => false,
19 'rewrite' => false,
20 );
21
22 $args = apply_filters( 'action_scheduler_taxonomy_args', $args );
23 return $args;
24 }
25 }
26