Avoid GET execution if 404 error is detected

后端 未结 0 1845
攒了一身酷
攒了一身酷 2021-02-11 08:11

So I have the following piece of code:

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


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