{"id":5889858,"date":"2015-03-12T02:25:12","date_gmt":"2015-03-12T02:25:12","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/will-get_order_number-work-without-sequential-order-numbers\/"},"modified":"2016-08-22T17:56:59","modified_gmt":"2016-08-22T17:56:59","slug":"will-get_order_number-work-without-sequential-order-numbers","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/will-get_order_number-work-without-sequential-order-numbers\/","title":{"rendered":"Will get_order_number work without sequential order numbers?"},"content":{"rendered":"<p>Hi there,<\/p>\n<p>I just wondered whether the code:<\/p>\n<p><code>$order_number = $order-&gt;get_order_number();<\/code><\/p>\n<p>will work without the sequential order number plugin installed and just pull the default post value number?<\/p>\n<p>I am trying to modify a plugin (https:\/\/github.com\/bitpay\/woocommerce-plugin\/blob\/master\/src\/class-wc-gateway-bitpay.php) to play nicely with your plugin, but also to work without it.<\/p>\n<p>Thanks in advance!<\/p>\n<p>https:\/\/wordpress.org\/plugins\/woocommerce-sequential-order-numbers\/<\/p>\n","protected":false},"template":"","class_list":["post-5889858","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5889858","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5889858\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5889858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}