wp_create_nonce 方法是用來產生「驗證碼」,並且要指定給參數data 中的'nonce'; Ajax 中的URL ,必需是指向ajaxurl,否則Ajax 的請求會失敗. 後端伺服器:.
確定! 回上一頁