In WordPress there are multiple ways of doing this but the best way to check a nonce in an AJAX callback is to use the check_ajax_referer ...
確定! 回上一頁