HEX
Server: Apache
System: Linux server 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19 UTC 2020 x86_64
User: losadagest (10000)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/aceitunaslosada.com/insta-gallery/includes/controllers/QLIGG_Controller.php
<?php

class QLIGG_Controller {

  function error_ajax($data) {
    return wp_send_json_error($data);
  }

  function success_ajax($data) {
    return wp_send_json_success($data);
  }

  function error_reload_page() {
    return wp_send_json_error(esc_html__('Please, reload page', 'insta-gallery'));
  }

  function error_access_denied() {
    return wp_send_json_error(esc_html__('Access denied', 'insta-gallery'));
  }

}