Avoid GET execution if 404 error is detected

后端 未结 0 1301
孤城傲影
孤城傲影 2021-02-11 08:03

So I have the following piece of code:

function get_array_of_post_objects(slug)
{
    wp.api.loadPromise.done(function () {
        const Posts =         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题