Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
yith-woocommerce-wishlist
/
plugin-fw
/
includes
:
class-yit-cpt-unlimited.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /** * YITH Custom-Post-Type Unlimited Class. * Deprecated! Kept only to prevent fatal errors if someone is using it. * * @class YIT_CPT_Unlimited * @package YITH\PluginFramework\Classes * @deprecated 3.5 | This will be removed, so please don't use it */ defined( 'ABSPATH' ) || exit; // Exit if accessed directly. if ( ! class_exists( 'YIT_CPT_Unlimited' ) ) { /** * Class YIT_CPT_Unlimited * * @deprecated 3.5 | This will be removed, so please don't use it */ class YIT_CPT_Unlimited { /** * YIT_CPT_Unlimited constructor. * * @param array $args Configuration arguments of post type. */ public function __construct( $args = array() ) { } /** * Avoid issues when calling a non-defined method * * @param string $name Name of the missing method. * @param array $arguments Arguments. * * @return bool */ public function __call( $name, $arguments ) { return false; } /** * Avoid issues when calling a non-defined attribute * * @param string $key Name of the missing attribute. * * @return bool */ public function __get( $key ) { return false; } } }