PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 5.4.2
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v5.4.2
8.7.7 8.7.6 8.7.5 8.7.4 8.7.3 8.7.2 8.7.1 8.7.0 8.6.9 8.6.8 8.6.7 8.6.6 8.6.5 8.6.4 8.6.2 8.6.1 8.6.0 8.5.9 8.5.8 8.5.7 8.5.6 8.5.5 8.5.4 8.5.3 8.5.2 All 533 releases
← All changes | includes/openai/OpenAi_WPBot_Menu.php +2 -3 8.7.55.4.2 View file →
@@ -1,6 +1,5 @@
1 1 <?php
2 -if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3 2
4 3 class OpenAi_WPBot_Menus
5 4 {
6 5 function __construct(){
@@ -7,9 +6,9 @@
7 6 //add_action('admin_menu',[$this,'chatbot_menu']);
8 7 }
9 8 public function chatbot_menu()
10 9 {
11 - global $qcld_custom_hook, $submenu;
10 + global $custom_hook, $submenu;
12 11 // add_menu_page( openai_menu_text(), 'Bot - OpenAI', 'manage_options','openai-panel_dashboard', [$this, 'qcld_wb_chatbot_admin_page'],'');
13 12 // add_submenu_page( 'openai-panel_dashboard', 'File Upload', 'File Upload', 'manage_options','openai-panel_file', [$this, 'qcld_wb_chatbot_openai_file'] );
14 13 // add_submenu_page( 'openai-panel_dashboard', 'Help', 'Help', 'manage_options','openai-panel_help', [$this, 'qcld_wb_chatbot_admin_page_help'] );
15 14 // echo '<pre>'; print_r( $submenu['openai-panel_dashboard'] ); echo '</pre>'; exit();
@@ -31,9 +30,9 @@
31 30 $action = 'admin.php?page=openai-panel_help';
32 31 require_once( QCLD_openai_addon_PLUGIN_DIR_PATH . "includes/admin/help.php" );
33 32 }
34 33 public function screen_option(){
35 - global $qcld_custom_hook;
34 + global $custom_hook;
36 35 $screen = get_current_screen();
37 36
38 37 $option = 'per_page';
39 38 $args = [