wordpress - 使用 WordPress 处理表单 POST 数据
问题描述
我很难弄清楚如何接收表单数据。这就是我的表单的样子:
<form action="register" method="POST">
<input type="hidden" name="action" value="process_form">
<input type="email" placeholder="Enter email" name="email">
<input type="password" placeholder="Enter password" name="password">
</form>
如何访问我的表单数据?
解决方案
推荐阅读
- angular - 从 Angular 7 升级到 Angular 9 失败
- python - 是否可以通过 keras 图更改 batch_size 中途?
- javascript - AbortController 和 fetch:如何区分网络错误和中止错误
- javascript - How do I navigate in react native
- tensorflow - CPU 代替 GPU 用于大批量,但 GPU 仅用于 Keras GPU 和 Tensorflow 后端中的小批量
- python - OpenCV:对圆数组进行排序
- javascript - Magnific popup html页面滚动顶部问题
- typescript - 为什么允许这样做?常量 nums: number[] = { ...[1, 2, 3] }
- r - 有没有办法使用 gt 包按行(如迷你图)动态嵌入 ggplot 图像?
- javascript - 登录反应js后创建用户特定的重定向?