// Drop the _fbp/_fbc cookies the Meta plugin sets server-side until Meta is accepted in Axeptio. add_action( 'init', function () { if ( is_admin() || headers_sent() ) { return; } $consent = empty( $_COOKIE['axeptio_cookies'] ) ? array() : (array) json_decode( wp_unslash( $_COOKIE['axeptio_cookies'] ), true ); if ( ! empty( $consent['wp_official-facebook-pixel'] ) ) { return; } $domain = '.' . preg_replace( '/^www\./', '', wp_parse_url( home_url(), PHP_URL_HOST ) ); foreach ( array( '_fbp', '_fbc' ) as $name ) { setcookie( $name, '', array( 'expires' => time() - 86400, 'path' => '/', 'domain' => $domain, 'secure' => is_ssl(), 'samesite' => 'Lax' ) ); } }, 1 ); Blog Axiobat : les fonctionnalités
Facturation Électronique - Solution Compatible_1 (1)
Facturation électronique : Axiobat, déjà conforme pour 2026. Et vous ?