PluginProbe ʕ •ᴥ•ʔ
Atarim – AI Agency for WordPress: Edit Pages, Fix Code, Update Plugins, SEO & Client Feedback / 5.1.3
Atarim – AI Agency for WordPress: Edit Pages, Fix Code, Update Plugins, SEO & Client Feedback v5.1.3
5.1.3 5.1.2 5.1.1 5.1 5.0 trunk 3.10 3.11 3.12 3.13 3.14 3.15 3.16 3.17 3.18 3.19 3.2.0 3.2.1 3.22 3.22.1 3.22.2 3.22.3 3.22.4 3.22.5 3.22.6 3.3.0 3.3.1 3.3.2 3.3.2.1 3.3.2.2 3.3.3 3.30 3.31 3.32 3.4 3.4.1 3.4.3 3.4.4 3.5 3.5.1 3.6 3.6.1 3.7 3.8 3.9 3.9.1 3.9.2 3.9.3 3.9.4 3.9.6 3.9.6.1 4.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.0.7 4.0.8 4.0.9 4.1.0 4.1.1 4.1.2 4.1.3 4.2 4.2.1 4.2.2 4.3 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.4
atarim-visual-collaboration / third-party / content-model / ase / class-avcf-ase-detector.php
atarim-visual-collaboration / third-party / content-model / ase Last commit date
class-avcf-abilities-ase.php 4 days ago class-avcf-ase-detector.php 4 days ago class-avcf-ase-helpers.php 4 days ago
class-avcf-ase-detector.php
36 lines
1 <?php
2 /**
3 * Detects ASE (Admin and Site Enhancements — custom fields / CPT / taxonomy
4 * module). Definitions are stored as the asenha_cfgroup / asenha_cpt /
5 * asenha_ctax post types.
6 *
7 * @package atarim-visual-collaboration
8 */
9
10 if ( ! defined('ABSPATH') ) {
11 exit;
12 }
13
14 class AVCF_ASE_Detector {
15
16 public function __construct() {}
17
18 public function avcf_ase_is_available() {
19 return post_type_exists( 'asenha_cfgroup' ) || post_type_exists( 'asenha_cpt' ) || class_exists( 'cfgroup_init' );
20 }
21
22 public function avcf_ase_version() {
23 return defined( 'ASENHA_VERSION' ) ? ASENHA_VERSION : '';
24 }
25
26 public function avcf_ase_has_field_groups() {
27 return post_type_exists( 'asenha_cfgroup' );
28 }
29 public function avcf_ase_has_post_types() {
30 return post_type_exists( 'asenha_cpt' );
31 }
32 public function avcf_ase_has_taxonomies() {
33 return post_type_exists( 'asenha_ctax' );
34 }
35 }
36