'; public function __construct() { parent::__construct(); } /** * Render feature for integrations page */ public function render_feature() { // Load feature descriptions require_once plugin_dir_path(dirname(__FILE__)) . 'lib/feature-descriptions.php'; $description = \AiAutoTool_Feature_Descriptions::get('thumb_fix'); if (!$description) { $description = __('Automatically scan and fix 404 images in your posts. Find broken images and remove them to improve site quality.', 'ai-auto-tool'); } $autoToolBox = new \AutoToolBox( esc_html__('Image 404 Scanner & Fixer', 'ai-auto-tool'), $description, "https://doc.aiautotool.com/features/image-404-scanner", $this->active_option_name, $this->active, plugins_url('../../images/logo.svg', __FILE__) ); echo $autoToolBox->generateHTML(); } /** * Render tab setting - Already inherited from parent class AIAutotool_Image404Scanner * But we override to ensure it works correctly */ public function render_tab_setting() { if ($this->active == 'true') { echo ''; } } /** * Render settings page - Already inherited from parent class AIAutotool_Image404Scanner * This method is already implemented in parent class, no need to override */ } }