- added debug function

- fixed issues in acf fields use
This commit is contained in:
asus
2024-03-10 11:13:44 +01:00
parent f3a9be5a89
commit faefa98114
17 changed files with 135 additions and 106 deletions

View File

@@ -14,6 +14,7 @@ if (!defined('ABSPATH')) {
*
*/
function add_partenaires_PLGNTLS($customer_data){
PLGNTLS_class::debug_infos();
$current_url = $_SERVER['HTTP_REFERER']; // not reliable to use referer, TODO: find another solution
$path_brut = parse_url($current_url, PHP_URL_PATH);
$path = trim($path_brut, '/');