上述内容在Wordpress中用 wp_send_json_error() 函数实现。 ... then calls wp_send_json() and wp_die(). wp_send_json_error( 'Error message' );.
確定! 回上一頁