admin管理员组文章数量:1130349
I'm working with wordpress rest api I need to searching WP posts with unicode character example searching on my site:
/?s=ngoại+tình
The results is OK The I applied to my api : API URL :
+tình
Code:
$arrayPostFilter = array (
"orderby" => "publish_date",
"s" => $_GET['keyword'],
"posts_per_page" => 20,
'numberposts'=>-1,
"paged" => $paged
);
It's have no result, no posts found
Do I have to setting anything relate to Unicode for query filter?
I'm working with wordpress rest api I need to searching WP posts with unicode character example searching on my site:
/?s=ngoại+tình
The results is OK The I applied to my api : API URL :
+tình
Code:
$arrayPostFilter = array (
"orderby" => "publish_date",
"s" => $_GET['keyword'],
"posts_per_page" => 20,
'numberposts'=>-1,
"paged" => $paged
);
It's have no result, no posts found
Do I have to setting anything relate to Unicode for query filter?
本文标签: rest apiWordpress search post using unicode
版权声明:本文标题:rest api - Wordpress search post using unicode 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749074737a2312125.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论