Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/ref34t/mohamed-khaled-api-/archive/refs/heads/main.zipUpdates itself. It ships its own updater (Update URI header), so new versions appear under Dashboard → Updates.
Mohamed Khaled API Plugin
A professional WordPress plugin for integrating external API data with advanced caching, security features, and a modern Gutenberg block interface.
📋 Overview
This plugin fetches data from the MiUsage API endpoint and displays it in a responsive table format with configurable column visibility. Built with enterprise-grade security, performance optimization, and modern WordPress development practices.
✨ Features
🔒 Advanced Security
- Nonce Verification: WordPress standard security tokens on all AJAX requests
- Permission Checks: Role-based access control for admin functions
- XSS Protection: Advanced column name validation with whitelist/blacklist patterns
- Input Sanitization: All user inputs properly sanitized and validated
- Output Escaping: All displayed data properly escaped for security
- Security Logging: Event tracking for audit trails
⚡ Performance Optimization
- Intelligent Caching: 1-hour transient caching with force refresh options
- Conditional Asset Loading: Scripts and styles only loaded where needed
- AJAX-Powered Interface: Non-blocking data loading
- Optimized Database Queries: Efficient transient API usage
🎛️ Professional Admin Int