PluginProbe
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF / 2.3.3
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF v2.3.3
2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.9 2.2.8 trunk 1.10 1.3.3 1.3.4 1.3.5 1.3.5.1 1.3.5.2 1.3.6 1.3.6.1 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 All 103 releases
imagify / inc / Dependencies / ActionScheduler / classes / data-stores / ActionScheduler_wpPostStore_TaxonomyRegistrar.php

ActionScheduler_wpPostStore_TaxonomyRegistrar.php in Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF 2.3.3, at inc/Dependencies/ActionScheduler/classes/data-stores/ActionScheduler_wpPostStore_TaxonomyRegistrar.php

34 lines 762 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 *
6 * @codeCoverageIgnore
7 */
8 class ActionScheduler_wpPostStore_TaxonomyRegistrar {
9
10 /**
11 * Registrar.
12 */
13 public function register() {
14 register_taxonomy( ActionScheduler_wpPostStore::GROUP_TAXONOMY, ActionScheduler_wpPostStore::POST_TYPE, $this->taxonomy_args() );
15 }
16
17 /**
18 * Get taxonomy arguments.
19 */
20 protected function taxonomy_args() {
21 $args = array(
22 'label' => __( 'Action Group', 'action-scheduler' ),
23 'public' => false,
24 'hierarchical' => false,
25 'show_admin_column' => true,
26 'query_var' => false,
27 'rewrite' => false,
28 );
29
30 $args = apply_filters( 'action_scheduler_taxonomy_args', $args );
31 return $args;
32 }
33 }
34