aristath/kirki

View on GitHub
packages/kirki-framework/compatibility/src/Deprecated.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * Backwards-compatibility for Kirki filters.
 *
 * @package     Kirki
 * @category    Core
 * @author      Ari Stathopoulos (@aristath)
 * @copyright   Copyright (c) 2020, David Vongries
 * @license     https://opensource.org/licenses/MIT
 * @since       1.0
 */

namespace Kirki\Compatibility;

/**
 * Please do not use this class directly.
 * You should instead extend it per-field-type.
 */
class Deprecated {

    /**
     * Constructor.
     *
     * @access public
     * @since 1.0
     */
    public function __construct() {
        require_once __DIR__ . '/deprecated/classes.php'; // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude
        require_once __DIR__ . '/deprecated/functions.php'; // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude
        require_once __DIR__ . '/deprecated/filters.php'; // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude
    }
}