class Wp_Generator { protected $loader; protected $plugin_name; protected $version; public function __construct() { goto c5UDX; FLdu1: goto aqgqY; goto Tcbwd; ZnsFj: aqgqY: goto U8HLP; Tcbwd: wKsh4: goto sm7vl; sm7vl: $this->version = WP_GENERATOR_VERSION; goto ZnsFj; U8HLP: $this->plugin_name = 'wp-generator'; goto XIhKB; b53DZ: $this->set_locale(); goto GlffO; XIhKB: $this->load_dependencies(); goto b53DZ; GlffO: $this->define_admin_hooks(); goto u3p6V; c5UDX: if (defined('WP_GENERATOR_VERSION')) { goto wKsh4; } goto BEnev; u3p6V: $this->define_public_hooks(); goto vmh50; BEnev: $this->version = '1.0.0'; goto FLdu1; vmh50: } private function load_dependencies() { goto zNC3D; zNC3D: require_once plugin_dir_path(dirname(__FILE__)) . 'includes/class-wp-generator-loader.php'; goto y5Z0t; zYPjW: require_once plugin_dir_path(dirname(__FILE__)) . 'public/class-wp-generator-public.php'; goto LNtVi; y5Z0t: require_once plugin_dir_path(dirname(__FILE__)) . 'includes/class-wp-generator-i18n.php'; goto Pr6kj; Pr6kj: require_once plugin_dir_path(dirname(__FILE__)) . 'admin/class-wp-generator-admin.php'; goto zYPjW; LNtVi: $this->loader = new Wp_Generator_Loader(); goto azYfE; azYfE: } private function set_locale() { $plugin_i18n = new Wp_Generator_i18n(); $this->loader->add_action('plugins_loaded', $plugin_i18n, 'load_plugin_textdomain'); } private function define_admin_hooks() { goto A6GxT; r0d0H: $this->loader->add_action('wp_ajax_wpgen_valide_licence', $plugin_admin, 'wpgen_valide_licence'); goto joPon; BK65D: $this->loader->add_filter('the_content', $plugin_admin, 'wpg_the_content'); goto Sx_pZ; CB_R5: $this->loader->add_action('wp_ajax_wpg_bulk_finished', $plugin_admin, 'wpg_bulk_finished'); goto hQ7bl; ujuMU: $this->loader->add_action('admin_menu', $plugin_admin, 'admin_menu'); goto r0d0H; r0YTh: $this->loader->add_action('wp_ajax_wpg_maj_quota', $plugin_admin, 'wpg_maj_quota'); goto tXUNz; WHbQs: $this->loader->add_action('wp_ajax_wpg_bulk_paragraphe', $plugin_admin, 'wpg_bulk_paragraphe'); goto Sv8fB; E8bh8: $this->loader->add_action('wp_ajax_wpg_delete_post', $plugin_admin, 'wpg_delete_post'); goto roIoj; PyBIY: $this->loader->add_action('wp_ajax_wpg_delete_project', $plugin_admin, 'wpg_delete_project'); goto ToiO6; UT1mQ: $this->loader->add_filter('pre_get_document_title', $plugin_admin, 'wpg_add_metatitle_seo'); goto RY0ZF; Sv8fB: $this->loader->add_action('init', $plugin_admin, 'wpg_bulk_cron_process', 1); goto sEL72; r5haM: $this->loader->add_action('wp_ajax_wpg_reset_bulk', $plugin_admin, 'wpg_reset_bulk'); goto dYEhj; wYt0n: $this->loader->add_action('wp_ajax_wpg_delete_apk_group', $plugin_admin, 'wpg_delete_apk_group'); goto gvAGM; gvAGM: $this->loader->add_action('wp_ajax_wpg_export_prompt', $plugin_admin, 'wpg_export_prompt'); goto tuluy; ToiO6: $this->loader->add_action('wp_ajax_wpg_dataPostProject', $plugin_admin, 'wpg_dataPostProject'); goto txKAx; BzYzF: $this->loader->add_filter('template_redirect', $plugin_admin, 'wpg_bulk_execution'); goto u0yGd; WQ8z_: $this->loader->add_action('wp_ajax_wpg_save_post', $plugin_admin, 'wpg_save_post'); goto E8bh8; QkhQF: $this->loader->add_action('wp_ajax_wpg_save_project_bulk', $plugin_admin, 'wpg_save_project_bulk'); goto hWP8E; dYEhj: $this->loader->add_action('wp_ajax_wpg_generate_titles', $plugin_admin, 'wpg_generate_titles'); goto cn7ye; UIR23: $this->loader->add_action('wp_ajax_nopriv_wpg_bulk_cron', $plugin_admin, 'wpg_bulk_cron'); goto Tq2KL; roIoj: $this->loader->add_action('wp_ajax_wpg_delete_apk', $plugin_admin, 'wpg_delete_apk'); goto PyBIY; hQ7bl: $this->loader->add_action('wp_head', $plugin_admin, 'wpg_add_metadesc_seo', 1); goto UT1mQ; hWP8E: $this->loader->add_action('wp_ajax_wpg_get_url_sitemap', $plugin_admin, 'wpg_get_url_sitemap'); goto r5haM; tuluy: $this->loader->add_action('wp_ajax_wpg_create_projet_product', $plugin_admin, 'wpg_create_projet_product'); goto pyJK9; joPon: $this->loader->add_action('wp_ajax_wpg_deactivate_licence', $plugin_admin, 'wpg_deactivate_licence'); goto QkhQF; u0yGd: $this->loader->add_action('add_meta_boxes', $plugin_admin, 'wpg_add_seo_box'); goto WnjwJ; txKAx: $this->loader->add_action('wp_ajax_wpg_change_licence', $plugin_admin, 'wpg_change_licence'); goto r0YTh; A6GxT: $plugin_admin = new Wp_Generator_Admin($this->get_plugin_name(), $this->get_version()); goto LrGZh; WnjwJ: $this->loader->add_action('save_post', $plugin_admin, 'wpg_save_meta_seo', 10, 2); goto lsa0J; LrGZh: $this->loader->add_action('admin_enqueue_scripts', $plugin_admin, 'enqueue_styles'); goto V_5Ir; V_5Ir: $this->loader->add_action('admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts'); goto ujuMU; cn7ye: $this->loader->add_action('wp_ajax_wpg_generate_unite', $plugin_admin, 'wpg_generate_unite'); goto WQ8z_; sEL72: $this->loader->add_action('wp_ajax_nopriv_wpg_bulk_finished', $plugin_admin, 'wpg_bulk_finished'); goto CB_R5; tXUNz: $this->loader->add_action('wp_ajax_wpg_ajouter_multi_key_openai', $plugin_admin, 'wpg_ajouter_multi_key_openai'); goto wYt0n; Tq2KL: $this->loader->add_action('wp_ajax_wpg_bulk_cron', $plugin_admin, 'wpg_bulk_cron'); goto j0m75; RY0ZF: $this->loader->add_filter('template_include', $plugin_admin, 'wpg_bulk_execution_include'); goto BzYzF; lsa0J: $this->loader->add_action('upgrader_process_complete', $plugin_admin, 'wpg_check_after_upgrade', 10, 2); goto BK65D; j0m75: $this->loader->add_action('wp_ajax_nopriv_wpg_bulk_paragraphe', $plugin_admin, 'wpg_bulk_paragraphe'); goto WHbQs; pyJK9: $this->loader->add_action('wp_ajax_wpg_read_csv_file', $plugin_admin, 'wpg_read_csv_file'); goto UIR23; Sx_pZ: } private function define_public_hooks() { goto Nlr8y; bOXND: $this->loader->add_action('wp_enqueue_scripts', $plugin_public, 'enqueue_scripts'); goto mZU2E; Nlr8y: $plugin_public = new Wp_Generator_Public($this->get_plugin_name(), $this->get_version()); goto N2z0i; N2z0i: $this->loader->add_action('wp_enqueue_scripts', $plugin_public, 'enqueue_styles'); goto bOXND; mZU2E: } public function run() { $this->loader->run(); } public function get_plugin_name() { return $this->plugin_name; } public function get_loader() { return $this->loader; } public function get_version() { return $this->version; } }