Wordpress API-我可以使用新注册的休息字段作为查询参数吗?

问题描述

我已经使用[bits 16] [org 0x7c00] init: mov ax,1853 mov bl,15 div bl ; some division sub al,2 ; a little subtraction mov bx,10 ; used to loop 10 times subtract: ; subtracts 2 10 times from ax to test looping sub ax,2 sub bx,1 cmp bx,0 jne subtract ;the code below is stupid mov bl,al mov ax,0 mov cx,0 mov dx,0 mov ah,0x0e ; write character command mov al,bl mov bx,0 int 0x10 ; BIOS video interrupt ;the code above is stupid jmp $ times 510-($-$$) db 0 dw 0xaa55 功能注册了一些newfield来对页面进行wordpress。当我请求页面时,该字段显示正常。

但是,如果我运行register_rest_field之类的查询,则无法立即使用。

我有什么办法让wordpress API接受这个新的字段键/值对作为查询字符串参数来为我过滤响应?我已经阅读了几乎所有的wp-api文档,但找不到任何内容

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)