I started working with WordPress recently, because I don't have much familiarity with the PHP language, I would like to know if there is any way to program with NodeJS in WordPress.
I started working with WordPress recently, because I don't have much familiarity with the PHP language, I would like to know if there is any way to program with NodeJS in WordPress.
Share Improve this question asked Jan 14, 2020 at 15:17 Gabriel ZedineGabriel Zedine 1155 bronze badges2 Answers
Reset to default 6No.
You can create your custom Node backend that communicates with WordPress via REST or GraphQL, but if you want to use WordPress' functionality (such as add_filter
, etc.), you need to use PHP.
See this as an opportunity to learn a new programming language.
You are limited to what you can do with NodeJS using the REST API. As @kero explained you can't use functions like add_filter/add_action.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744836779a4596310.html
评论列表(0条)