{"id":177,"date":"2018-02-13T15:47:51","date_gmt":"2018-02-13T15:47:51","guid":{"rendered":"http:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/?post_type=ht_kb&#038;p=177"},"modified":"2018-02-13T15:47:51","modified_gmt":"2018-02-13T15:47:51","slug":"hardcode-purchase-code","status":"publish","type":"ht_kb","link":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/article\/hardcode-purchase-code\/","title":{"rendered":"Hardcode purchase code"},"content":{"rendered":"<p>If you want to hardcode the purchase code, just go to Plugins &gt; <strong>Editor<\/strong> , select DZS Zoomsounds, select c<strong>lass-dzsap.php<\/strong> and on line 3095 replace<\/p>\n<pre>$this-&gt;mainoptions = array_merge($defaultOpts, $this-&gt;mainoptions);<\/pre>\n<p>with<\/p>\n<pre>$this-&gt;mainoptions = array_merge($defaultOpts, $this-&gt;mainoptions);\r\n$this-&gt;mainoptions['dzsap_purchase_code']='XXX';\r\n$this-&gt;mainoptions['dzsap_purchase_code_binded']='purchasecode';<\/pre>\n<p>PS: when updating the plugin\u00a0 these changes will disappear and will have to be remade<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"class_list":["post-177","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-faq","ht_kb_tag-developer"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Hardcode purchase code &ndash; ZoomSounds WordPress Audio Player Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/article\/hardcode-purchase-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hardcode purchase code &ndash; ZoomSounds WordPress Audio Player Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"If you want to hardcode the purchase code, just go to Plugins &gt; Editor , select DZS Zoomsounds, select class-dzsap.php and on line 3095 replace $this-&gt;mainoptions = array_merge($defaultOpts, $this-&gt;mainoptions); with $this-&gt;mainoptions = array_merge($defaultOpts, $this-&gt;mainoptions); $this-&gt;mainoptions[&#039;dzsap_purchase_code&#039;]=&#039;XXX&#039;; $this-&gt;mainoptions[&#039;dzsap_purchase_code_binded&#039;]=&#039;purchasecode&#039;; PS: when updating the plugin\u00a0 these changes will disappear and will have to be [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/article\/hardcode-purchase-code\/\" \/>\n<meta property=\"og:site_name\" content=\"ZoomSounds WordPress Audio Player Knowledge Base\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/article\/hardcode-purchase-code\/\",\"url\":\"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/article\/hardcode-purchase-code\/\",\"name\":\"Hardcode purchase code &ndash; ZoomSounds WordPress Audio Player Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/#website\"},\"datePublished\":\"2018-02-13T15:47:51+00:00\",\"dateModified\":\"2018-02-13T15:47:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/article\/hardcode-purchase-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/article\/hardcode-purchase-code\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/article\/hardcode-purchase-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Article\",\"item\":\"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/article\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Hardcode purchase code\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/#website\",\"url\":\"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/\",\"name\":\"ZoomSounds WP Audio Player Knowledge Base\",\"description\":\"Most powerful wordpress waveform audio player\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hardcode purchase code &ndash; ZoomSounds WordPress Audio Player Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/article\/hardcode-purchase-code\/","og_locale":"en_US","og_type":"article","og_title":"Hardcode purchase code &ndash; ZoomSounds WordPress Audio Player Knowledge Base","og_description":"If you want to hardcode the purchase code, just go to Plugins &gt; Editor , select DZS Zoomsounds, select class-dzsap.php and on line 3095 replace $this-&gt;mainoptions = array_merge($defaultOpts, $this-&gt;mainoptions); with $this-&gt;mainoptions = array_merge($defaultOpts, $this-&gt;mainoptions); $this-&gt;mainoptions['dzsap_purchase_code']='XXX'; $this-&gt;mainoptions['dzsap_purchase_code_binded']='purchasecode'; PS: when updating the plugin\u00a0 these changes will disappear and will have to be [&hellip;]","og_url":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/article\/hardcode-purchase-code\/","og_site_name":"ZoomSounds WordPress Audio Player Knowledge Base","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/article\/hardcode-purchase-code\/","url":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/article\/hardcode-purchase-code\/","name":"Hardcode purchase code &ndash; ZoomSounds WordPress Audio Player Knowledge Base","isPartOf":{"@id":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/#website"},"datePublished":"2018-02-13T15:47:51+00:00","dateModified":"2018-02-13T15:47:51+00:00","breadcrumb":{"@id":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/article\/hardcode-purchase-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/article\/hardcode-purchase-code\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/article\/hardcode-purchase-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/"},{"@type":"ListItem","position":2,"name":"Article","item":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/article\/"},{"@type":"ListItem","position":3,"name":"Hardcode purchase code"}]},{"@type":"WebSite","@id":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/#website","url":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/","name":"ZoomSounds WP Audio Player Knowledge Base","description":"Most powerful wordpress waveform audio player","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/wp-json\/wp\/v2\/ht_kb\/177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/wp-json\/wp\/v2\/ht_kb"}],"about":[{"href":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/wp-json\/wp\/v2\/comments?post=177"}],"version-history":[{"count":1,"href":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/wp-json\/wp\/v2\/ht_kb\/177\/revisions"}],"predecessor-version":[{"id":178,"href":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/wp-json\/wp\/v2\/ht_kb\/177\/revisions\/178"}],"wp:attachment":[{"href":"https:\/\/zoomthe.me\/knowledge-base\/zoomsounds-audio-player\/wp-json\/wp\/v2\/media?parent=177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}