GhostManSec
Server: LiteSpeed
System: Linux premium197.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: parhudrw (1725)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/parhudrw/ve.anqa.it/wp-content/plugins/depicter/app/src/Rules/Condition/CPT/Base.php
<?php

namespace Depicter\Rules\Condition\CPT;
use Depicter\Rules\Condition\Base as BaseCondition;
class Base extends BaseCondition
{

	/**
	 * @var \WP_Post_Type[]
	 */
	protected $availablePostTypes;

	public function __construct(){
		$this->availablePostTypes = get_post_types([
            'public' => true,
            '_builtin' => false
        ], 'object');

		if ( !empty( $this->availablePostTypes['product'] ) ) {
			unset( $this->availablePostTypes['product'] );
		}
	}
}