resolve_parent(); if ($parent && method_exists($parent, 'render_display_settings_card')) { $parent->render_display_settings_card( __('Control how the heart button looks and where it appears on product pages and archives. The wishlist analytics and per-product source breakdowns are under Profiling → Wishlist Analytics.', 'ai-eshop-optimizer') ); } else { echo \Rooster\Admin\Ui::notice( esc_html__('Wishlist module is not loaded — check that AIEO_DMM_Wishlist is active.', 'ai-eshop-optimizer'), 'destructive' ); } } private function resolve_parent() { if (!class_exists('AIEO_DMM')) { return null; } $dmm = AIEO_DMM::instance(); if (!$dmm || !method_exists($dmm, 'get_module')) { return null; } return $dmm->get_module('wishlist'); } }