[ 'type' => 'image', 'title' => 'Learn how Advanced Template works', 'content' => 'https://notificationx.com/wp-content/uploads/2025/09/advanceTemplate.gif', 'width' => '450', 'height' => '235', ], 'animation' => [ 'type' => 'image', 'title' => 'Learn how Animation works', 'content' => 'https://notificationx.com/wp-content/uploads/2025/09/notificationAnimation.gif', 'width' => '450', 'height' => '235', ], 'button' => [ 'type' => 'image', 'title' => 'Learn how Button works', 'content' => 'https://notificationx.com/wp-content/uploads/2025/09/notificationButton.gif', 'width' => '450', 'height' => '235', ], 'custom_css' => [ 'type' => 'image', 'title' => 'Learn how Custom CSS works', 'content' => 'https://notificationx.com/wp-content/uploads/2025/09/customCSS.gif', 'width' => '450', 'height' => '235', ], 'exclude_by' => [ 'type' => 'image', 'title' => 'Learn how Exclude By works', 'content' => 'https://notificationx.com/wp-content/uploads/2025/09/excludeBy.gif', 'width' => '450', 'height' => '235', ], 'global_queue_management' => [ 'type' => 'image', 'title' => 'Learn how Global Queue Management works', 'content' => 'https://notificationx.com/wp-content/uploads/2025/09/globalQueueManagement.gif', 'width' => '450', 'height' => '235', ], 'order_status' => [ 'type' => 'image', 'title' => 'Learn how Order Status works', 'content' => 'https://notificationx.com/wp-content/uploads/2025/09/orderStatus.gif', 'width' => '450', 'height' => '235', ], 'random_order' => [ 'type' => 'image', 'title' => 'Learn how Random Order functions', 'content' => 'https://notificationx.com/wp-content/uploads/2025/09/randomOrder.gif', 'width' => '450', 'height' => '235', ], 'reporting_frequency' => [ 'type' => 'image', 'title' => 'Learn how Reporting Frequency works', 'content' => 'https://notificationx.com/wp-content/uploads/2025/09/reportingFrequency.gif', 'width' => '450', 'height' => '235', ], 'show_purchase_of' => [ 'type' => 'image', 'title' => 'Learn how Show Purchase Of works', 'content' => 'https://notificationx.com/wp-content/uploads/2025/09/showPurchaseOf.gif', 'width' => '450', 'height' => '235', ], 'schedule_type' => [ 'type' => 'content', 'title' => 'Learn how Schedule Type works', 'content' => '', 'width' => '450', 'height' => '235', ], 'targeting' => [ 'type' => 'content', 'title' => 'Learn how Targeting works', 'content' => '', 'width' => '450', 'height' => '235', ], 'popup_notification_message_field' => [ 'type' => 'content', 'title' => 'Enable this field to let users send messages or feedback.','notificationx', 'content' => '', 'width' => '450', 'height' => '235', ], 'popup_notification_email_field' => [ 'type' => 'content', 'title' => 'Enable this field to collect user\'s email addresses.','notificationx', 'content' => '', 'width' => '450', 'height' => '235', ], ]; /** * Get full tooltip HTML for a given feature * * @param string $id Pro feature ID * @return string Full HTML or empty string if not found */ public static function render($id) { if (!isset(self::$tooltips[$id])) { return ''; } $tooltip = self::$tooltips[$id]; $html = '
%s
', wp_kses_post($tooltip['content'])); } } if (!empty($tooltip['title'])) { $html .= '