Introduces new core abstractions and module management classes, adds several new modules (modern cache, REST API, SEO enhancement), and removes deprecated/disabled assets and code. Updates vendor dependencies, including Symfony components and php-opencc, and cleans up related files. This refactor improves code organization, extensibility, and modernizes the plugin's architecture.
32 lines
No EOL
503 B
PHP
32 lines
No EOL
503 B
PHP
<?php
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit;
|
|
}
|
|
|
|
interface WPCC_Module_Interface {
|
|
|
|
public function init();
|
|
|
|
public function get_name();
|
|
|
|
public function get_version();
|
|
|
|
public function get_description();
|
|
|
|
public function get_dependencies();
|
|
|
|
public function is_compatible();
|
|
|
|
public function is_enabled();
|
|
|
|
public function activate();
|
|
|
|
public function deactivate();
|
|
|
|
public function get_settings();
|
|
|
|
public function update_settings( $settings );
|
|
|
|
public function get_status();
|
|
} |