// Captcha simple pour shortcode WordPress add_shortcode('maiage_captcha', function () { if (!session_id()) { session_start(); } $a = rand(1, 9); $b = rand(1, 9); $_SESSION['maiage_captcha_result'] = $a + $b; ob_start(); ?> Vérification anti-spam : combien font + ? <?php return ob_get_clean(); });