{"id":5031,"date":"2016-12-08T10:20:15","date_gmt":"2016-12-08T01:20:15","guid":{"rendered":"https:\/\/www.live-commerce.com\/support\/?page_id=5031"},"modified":"2016-12-08T10:20:15","modified_gmt":"2016-12-08T01:20:15","slug":"ogetproductstock","status":"publish","type":"page","link":"https:\/\/www.live-commerce.com\/support\/functions\/ogetproductstock","title":{"rendered":"o::getProductStock"},"content":{"rendered":"<h3>\u6982\u8981<\/h3>\n<p>\u5546\u54c1\u5728\u5eab\u6570\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<br \/>\n&nbsp;<\/p>\n<h3>\u4f7f\u3044\u65b9<\/h3>\n<pre class=\"lang:default decode:true \" >&lt;ul&gt;\r\n&lt;li&gt;&lt;?php echo o::getProductStock($productId); ?&gt;&lt;\/li&gt;\r\n&lt;\/ul&gt;<\/pre>\n<p>&nbsp;<\/p>\n<h3>\u5f15\u6570\u306e\u5185\u5bb9<\/h3>\n<ul style=\"list-style-type: square\">\n<li>$productId: \u5546\u54c1ID\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>\u8fd4\u308a\u5024<\/h3>\n<p>string<br \/>\n\u4f8b\uff0911\u500b \u5728\u5eab\u3042\u308a<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 \u5546\u54c1\u5728\u5eab\u6570\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002 &nbsp; \u4f7f\u3044\u65b9 &lt;ul&gt; &lt;li&gt;&lt;?php echo o::getProductStock($productId); ?&gt;&lt;\/li&gt; [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":154,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5031","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/pages\/5031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/comments?post=5031"}],"version-history":[{"count":1,"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/pages\/5031\/revisions"}],"predecessor-version":[{"id":5032,"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/pages\/5031\/revisions\/5032"}],"up":[{"embeddable":true,"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/pages\/154"}],"wp:attachment":[{"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/media?parent=5031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}