diff --git a/includes/api.php b/includes/api.php index 8083ca6..b869b83 100644 --- a/includes/api.php +++ b/includes/api.php @@ -57,7 +57,7 @@ function build_search_artisan_posts_cards($request) } $args = array( - "status" => "publish", + "post_status" => "publish", "post_type" => "artisans", "posts_per_page" => -1, "paged" => $activePage, @@ -123,7 +123,7 @@ function debugQueryTest() { $args = array( - "status" => "publish", + "post_status" => "publish", "post_type" => "artisans", "posts_per_page" => -1, // "tax_query" => $taxQuery,