__DIR__ . '/' . 'debug-reporter.php', 'class_name' => __NAMESPACE__ . '\Debug_Reporter', ] ); } /** * Debug constructor. * * Initializing Elementor debug and logging errors. * * @since 1.4.0 * @access public */ public function __construct() { add_action( 'wp_ajax_elementor_debug_log', [ $this, 'debug_log' ] ); if ( is_admin() ) { $this->add_system_info_report(); } } }