builders
2 years ago
privacy
2 years ago
class-yit-ajax.php
2 years ago
class-yit-assets.php
2 years ago
class-yit-cpt-unlimited.php
5 years ago
class-yit-gradients.php
2 years ago
class-yit-help-desk.php
2 years ago
class-yit-icons.php
2 years ago
class-yit-metabox.php
2 years ago
class-yit-plugin-common.php
5 years ago
class-yit-plugin-licence.php
2 years ago
class-yit-plugin-panel-woocommerce.php
1 year ago
class-yit-plugin-panel.php
2 years ago
class-yit-plugin-subpanel.php
2 years ago
class-yit-pointers.php
2 years ago
class-yit-theme-licence.php
2 years ago
class-yit-upgrade.php
5 years ago
class-yit-video.php
5 years ago
class-yith-bh-onboarding.php
3 years ago
class-yith-dashboard.php
4 years ago
class-yith-debug.php
2 years ago
class-yith-external-services.php
1 year ago
class-yith-post-type-admin.php
2 years ago
class-yith-system-status.php
1 year ago
class-yit-cpt-unlimited.php
55 lines
| 1 | <?php |
| 2 | /** |
| 3 | * YITH Custom-Post-Type Unlimited Class. |
| 4 | * Deprecated! Kept only to prevent fatal errors if someone is using it. |
| 5 | * |
| 6 | * @class YIT_CPT_Unlimited |
| 7 | * @package YITH\PluginFramework\Classes |
| 8 | * @deprecated 3.5 | This will be removed, so please don't use it |
| 9 | */ |
| 10 | |
| 11 | defined( 'ABSPATH' ) || exit; // Exit if accessed directly. |
| 12 | |
| 13 | if ( ! class_exists( 'YIT_CPT_Unlimited' ) ) { |
| 14 | |
| 15 | /** |
| 16 | * Class YIT_CPT_Unlimited |
| 17 | * |
| 18 | * @deprecated 3.5 | This will be removed, so please don't use it |
| 19 | */ |
| 20 | class YIT_CPT_Unlimited { |
| 21 | |
| 22 | /** |
| 23 | * YIT_CPT_Unlimited constructor. |
| 24 | * |
| 25 | * @param array $args Configuration arguments of post type. |
| 26 | */ |
| 27 | public function __construct( $args = array() ) { |
| 28 | |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * Avoid issues when calling a non-defined method |
| 33 | * |
| 34 | * @param string $name Name of the missing method. |
| 35 | * @param array $arguments Arguments. |
| 36 | * |
| 37 | * @return bool |
| 38 | */ |
| 39 | public function __call( $name, $arguments ) { |
| 40 | return false; |
| 41 | } |
| 42 | |
| 43 | /** |
| 44 | * Avoid issues when calling a non-defined attribute |
| 45 | * |
| 46 | * @param string $key Name of the missing attribute. |
| 47 | * |
| 48 | * @return bool |
| 49 | */ |
| 50 | public function __get( $key ) { |
| 51 | return false; |
| 52 | } |
| 53 | } |
| 54 | } |
| 55 |