* @license : GPL2 * */ if (defined('ABSPATH') === false) { exit; } // You may comment this out IF you're sure the function exists. require_once ABSPATH . 'wp-admin/includes/plugin-install.php'; remove_all_filters('plugins_api'); $pluginsAllowedTags = array( 'a' => array( 'href' => array(), 'title' => array(), 'target' => array(), ), 'abbr' => array( 'title' => array() ), 'acronym' => array( 'title' => array() ), 'code' => array(), 'pre' => array(), 'em' => array(), 'strong' => array(), 'ul' => array(), 'ol' => array(), 'li' => array(), 'p' => array(), 'br' => array(), ); $recommendedPlugins = array(); /* Chatway Plugin */ $args = [ 'slug' => 'chatway-live-chat', 'fields' => [ 'short_description' => true, 'icons' => true, 'reviews' => false, // excludes all reviews ], ]; $data = plugins_api( 'plugin_information', $args ); if ( $data && ! is_wp_error( $data ) ) { $recommendedPlugins['chatway-live-chat'] = $data; $recommendedPlugins['chatway-live-chat']->name = esc_html__('Chatway: Free Live Chat, AI Chatbot', 'chaty'); $recommendedPlugins['chatway-live-chat']->short_description = esc_html__("Live chat with your website's visitors through your WordPress website. Chatway includes unlimited chats, an AI support agent chatbot, iOS & Android mobile apps, team collaboration, saved replies, integrations, and more.", "chaty"); } ?>