=== FYP Core DEV === Contributors: francoisyerg Tags: wordpress, plugin-framework, admin, forms, options, transient, ajax Requires at least: 4.1 Tested up to: 7.0 Requires PHP: 8.0 Stable tag: 1.3.6 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Development build of FYPlugins Core. Not intended for production use. == Description == FYP Core DEV is the development wrapper for the FYPlugins core framework. It bootstraps the shared core, registers the plugin, loads compatibility layers, exposes admin pages, manages options/transients, and provides AJAX debug tools. == Versions == - Plugin header version: 1.3.6 - Plugin constant: FYPLUGINS_CORE_DEV_VERSION = 1.3.6 - Core loader version: 1.3.7 - Core includes version: 1.0.1 == Requirements == - WordPress 4.1 or higher - PHP 8.0 or higher - MySQL 5.6 or higher == Main hooks == - fyplugins_core_loaded: Fired when the core framework is fully loaded - fyplugins_core_register_plugins: Fired to allow plugins to register themselves - fyplugins_core_register_admin_pages: Fired to allow registration of admin pages == Main AJAX actions == - wp_ajax_fyplugins_core_download_debug_info: Download debug data as JSON file - wp_ajax_fyplugins_core_get_debug_json: Retrieve debug information as JSON - wp_ajax_fyplugins_core_delete_all_cache_transients: Delete all FYPlugins transients - wp_ajax_fyplugins_core_delete_all_options: Delete all FYPlugins options == Useful constants == - FYPLUGINS_CORE_DEV_VERSION: Plugin version (1.3.6) - FYPLUGINS_CORE_DEV_PATH: Plugin directory path - FYPLUGINS_CORE_DEV_URL: Plugin URL - FYPLUGINS_CORE_VERSION: Core framework version - FYPLUGINS_CORE_PATH: Core framework directory path - FYPLUGINS_CORE_URL: Core framework URL - FYPLUGINS_CORE_LOADED: Boolean constant set when core is loaded == Main capabilities == - Manage registered FYPlugins entries - Render admin tabs: Overview, Appearance, Debug - Inspect and export debug data - Delete all FYPlugins options - Delete all FYPlugins transients == Main classes and namespaces == Core Classes: - FYPlugins\Core\Core - FYPlugins\Core\Options - FYPlugins\Core\Transient - FYPlugins\Core\Plugin - FYPlugins\Core\AdminPage - FYPlugins\Core\Form - FYPlugins\Core\FormField - FYPlugins\Core\FormGroup Manager Classes: - FYPlugins\Core\Classes\Managers\PluginsManager - FYPlugins\Core\Classes\Managers\FormsManager - FYPlugins\Core\Classes\Managers\CssManager - FYPlugins\Core\Classes\Managers\AssetsManager - FYPlugins\Core\Classes\Managers\AdminManager Admin Classes: - FYPlugins\Core\Classes\Core\Admin - FYPlugins\Core\Classes\Core\UpdateProcessor Trait Classes: - FYPlugins\Core\Traits\HasSingleton - FYPlugins\Core\Traits\HasProperties == Helper functions == - fyplugins_core(): Get the FYPlugins Core instance - fyplugins_core_options(): Get the Options manager instance - fyplugins_core_transient(): Get the Transient manager instance - fyplugins_core_current_user_can_manage(): Check if user has manage_options capability == Usage notes == - The plugin registers itself on yplugins_core_register_plugins. - The shared core is loaded from src/core/core-loader.php. - Admin actions require the manage_options capability. - Nonce-protected AJAX endpoints use the yplugins_core_ajax_nonce nonce. - Legacy files in class/ and rait/ remain loaded for backward compatibility. - All options are prefixed with yplugins_options. - All transients are prefixed with yplugins_core_. == Installation == 1. Upload the plugin to your WordPress plugins directory. 2. Activate the plugin. 3. The main plugin file loads src/core/core-loader.php automatically. 4. The plugin registers its admin and update logic on core hooks. == Changelog == = 1.3.6 = - Current development wrapper version. - Core loader resolves the latest registered core version. - AJAX debug actions and admin tabs are available. - Support for admin page tabs and appearance customization. = 1.0.0 = - Initial release