{"id":2299,"date":"2019-03-27T07:21:13","date_gmt":"2019-03-27T07:21:13","guid":{"rendered":"http:\/\/androidbubble.com\/blog\/?p=2299"},"modified":"2019-03-27T07:22:54","modified_gmt":"2019-03-27T07:22:54","slug":"zipper-script-for-wordpress","status":"publish","type":"post","link":"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/","title":{"rendered":"zipper script for WordPress"},"content":{"rendered":"\n<p>function zipper(){<br>\n  if(isset($_GET[&#8216;zipper&#8217;])){ <br>\n  <br>\n  if(!class_exists(&#8216;ZipArchive&#8217;))<br>\n  echo &#8216;ZipArchive &#8211; X&lt;br \/&gt;&#8217;;<\/p>\n<p>if(isset($_GET[&#8216;folder&#8217;])){<br>\n  $click_here = &#8221;;<br>\n  $folder = $_GET[&#8216;folder&#8217;];<br>\n  ini_set(&#8216;max_execution_time&#8217;, 5000);<\/p>\n<p>\/\/ create object<br>\n  $zip = new ZipArchive();<\/p>\n<p>$root = (isset($_SERVER[&#8216;SUBDOMAIN_DOCUMENT_ROOT&#8217;])?$_SERVER[&#8216;SUBDOMAIN_DOCUMENT_ROOT&#8217;]:$_SERVER[&#8216;DOCUMENT_ROOT&#8217;]).(isset($_GET[&#8216;sub&#8217;])?&#8217;\/&#8217;.$_GET[&#8216;sub&#8217;]:&#8221;);<br>\n  \/\/ open archive <\/p>\n<p>$uploads = false;<br>\n  $max = $uploads?12:1;<\/p>\n<p>for($i=1; $i&lt;=$max; $i++){<br>\n  echo $downloadable_file = $root.&#8217;\/&#8217;.str_replace(array(&#8216;\/&#8217;), &#8216;-&#8216;, $folder).&#8217;-&#8216;.$i.&#8217;.zip&#8217;;\/\/exit;<br>\n  $click_here = &#8216;&lt;a href=&quot;&#8217;.str_replace($root, &#8221;, $downloadable_file).&#8217;&quot;&gt;Save Now&lt;\/a&gt;&#8217;;<br>\n  echo file_exists($downloadable_file)?'&lt;br \/&gt;Done! &#8216;.$click_here.'&lt;br \/&gt;&#8217;:'&lt;br \/&gt;&#8217;;<br>\n  if ($zip-&gt;open($downloadable_file, ZIPARCHIVE::CREATE) !== TRUE) {<br>\n  die (&quot;Could not open archive&quot;);<br>\n  }<br>\n  <br>\n  $f = ($i&gt;9?$i:&#8217;0&#8242;.$i);<br>\n  \/\/ initialize an iterator<br>\n  \/\/ pass it the directory to be processed<br>\n  $dir = ($folder==&#8217;\/&#8217;?$root:($root.&quot;\/wp-content\/&quot;.($folder!=&#8217;self&#8217;?($uploads?&#8217;uploads\/&#8217;:&#8221;).$folder.($uploads?&#8217;\/&#8217;.$f:&#8221;).&quot;\/&quot;:&#8221;)));<br>\n  \/\/pree($dir);<br>\n  \/\/pree(!is_dir($dir));<br>\n  if(is_dir($dir)){<br>\n  <br>\n  $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($dir));<br>\n<\/p>\n<p>\/\/ iterate over the directory<br>\n  \/\/ add each file found to the archive<br>\n  foreach ($iterator as $key=&gt;$value) {<br>\n  $filename = str_replace($root.&#8217;\/&#8217;, &#8221;, $key);<br>\n  <br>\n  $basename = basename($filename);<br>\n  <br>\n  if(!in_array($basename, array(&#8216;.&#8217;, &#8216;..&#8217;))){<br>\n  $parts = explode(&#8216;.&#8217;, $basename);<br>\n  <br>\n  $ext = end($parts);<br>\n  if(!in_array($ext, array(&#8216;zip&#8217;))){<br>\n  $zip-&gt;addFile(realpath($key), $filename) or die (&quot;ERROR: Could not add file: $key&quot;);<br>\n  }<br>\n  <br>\n  }<br>\n  }<br>\n  echo &quot;Archive created successfully.&lt;br \/&gt;&quot;;<br>\n  }else{<br>\n  <br>\n  echo &#8216;&lt;b&gt;&#8217;.$dir.&quot;&lt;\/b&gt;&lt;br \/&gt;Directory does not exists.&quot;;<br>\n  pre($_SERVER);<br>\n  }<br>\n  <br>\n  }<br>\n  \/\/ close and save archive<br>\n  $zip-&gt;close();<br>\n  exit;<br>\n  }<br>\n  }<br>\n  }<br>\n  zipper();<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>function zipper(){ if(isset($_GET[&#8216;zipper&#8217;])){ if(!class_exists(&#8216;ZipArchive&#8217;)) echo &#8216;ZipArchive &#8211; X&lt;br \/&gt;&#8217;; if(isset($_GET[&#8216;folder&#8217;])){ $click_here = &#8221;; $folder = $_GET[&#8216;folder&#8217;]; ini_set(&#8216;max_execution_time&#8217;, 5000); \/\/ create object $zip = new ZipArchive(); $root = (isset($_SERVER[&#8216;SUBDOMAIN_DOCUMENT_ROOT&#8217;])?$_SERVER[&#8216;SUBDOMAIN_DOCUMENT_ROOT&#8217;]:$_SERVER[&#8216;DOCUMENT_ROOT&#8217;]).(isset($_GET[&#8216;sub&#8217;])?&#8217;\/&#8217;.$_GET[&#8216;sub&#8217;]:&#8221;); \/\/ open archive $uploads = false; $max = $uploads?12:1; for($i=1; $i&lt;=$max; $i++){ echo $downloadable_file = $root.&#8217;\/&#8217;.str_replace(array(&#8216;\/&#8217;), &#8216;-&#8216;, $folder).&#8217;-&#8216;.$i.&#8217;.zip&#8217;;\/\/exit; $click_here = &#8216;&lt;a href=&quot;&#8217;.str_replace($root, &#8221;, $downloadable_file).&#8217;&quot;&gt;Save Now&lt;\/a&gt;&#8217;; echo file_exists($downloadable_file)?'&lt;br [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2300,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[120],"tags":[],"class_list":["post-2299","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scripts"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>zipper script for WordPress - AndroidBubble Blog<\/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:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"zipper script for WordPress - AndroidBubble Blog\" \/>\n<meta property=\"og:description\" content=\"function zipper(){ if(isset($_GET[&#8216;zipper&#8217;])){ if(!class_exists(&#8216;ZipArchive&#8217;)) echo &#8216;ZipArchive &#8211; X&lt;br \/&gt;&#8217;; if(isset($_GET[&#8216;folder&#8217;])){ $click_here = &#8221;; $folder = $_GET[&#8216;folder&#8217;]; ini_set(&#8216;max_execution_time&#8217;, 5000); \/\/ create object $zip = new ZipArchive(); $root = (isset($_SERVER[&#8216;SUBDOMAIN_DOCUMENT_ROOT&#8217;])?$_SERVER[&#8216;SUBDOMAIN_DOCUMENT_ROOT&#8217;]:$_SERVER[&#8216;DOCUMENT_ROOT&#8217;]).(isset($_GET[&#8216;sub&#8217;])?&#8217;\/&#8217;.$_GET[&#8216;sub&#8217;]:&#8221;); \/\/ open archive $uploads = false; $max = $uploads?12:1; for($i=1; $i&lt;=$max; $i++){ echo $downloadable_file = $root.&#8217;\/&#8217;.str_replace(array(&#8216;\/&#8217;), &#8216;-&#8216;, $folder).&#8217;-&#8216;.$i.&#8217;.zip&#8217;;\/\/exit; $click_here = &#8216;&lt;a href=&quot;&#8217;.str_replace($root, &#8221;, $downloadable_file).&#8217;&quot;&gt;Save Now&lt;\/a&gt;&#8217;; echo file_exists($downloadable_file)?&#039;&lt;br [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"AndroidBubble Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pages\/Website-Design-Website-Development\/172363336135453\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-27T07:21:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-03-27T07:22:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2019\/03\/winrar.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"720\" \/>\n\t<meta property=\"og:image:height\" content=\"441\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Fahad\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fahad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/\"},\"author\":{\"name\":\"Fahad\",\"@id\":\"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/0a833b633f744c3a5e0de7c9a94e71f7\"},\"headline\":\"zipper script for WordPress\",\"datePublished\":\"2019-03-27T07:21:13+00:00\",\"dateModified\":\"2019-03-27T07:22:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/\"},\"wordCount\":277,\"image\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2019\/03\/winrar.jpg\",\"articleSection\":[\"Scripts\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/\",\"url\":\"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/\",\"name\":\"zipper script for WordPress - AndroidBubble Blog\",\"isPartOf\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2019\/03\/winrar.jpg\",\"datePublished\":\"2019-03-27T07:21:13+00:00\",\"dateModified\":\"2019-03-27T07:22:54+00:00\",\"author\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/0a833b633f744c3a5e0de7c9a94e71f7\"},\"breadcrumb\":{\"@id\":\"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/#primaryimage\",\"url\":\"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2019\/03\/winrar.jpg\",\"contentUrl\":\"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2019\/03\/winrar.jpg\",\"width\":720,\"height\":441},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/androidbubble.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API\",\"item\":\"https:\/\/androidbubble.com\/blog\/category\/api\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Scripts\",\"item\":\"https:\/\/androidbubble.com\/blog\/category\/api\/scripts\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"zipper script for WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/androidbubble.com\/blog\/#website\",\"url\":\"https:\/\/androidbubble.com\/blog\/\",\"name\":\"AndroidBubble Blog\",\"description\":\"Articles &amp; Posts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/androidbubble.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/0a833b633f744c3a5e0de7c9a94e71f7\",\"name\":\"Fahad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/afab5bcad71955d142a69df1758e6710aed4ab9cc2b5da28c54a7c3f39801b73?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/afab5bcad71955d142a69df1758e6710aed4ab9cc2b5da28c54a7c3f39801b73?s=96&d=mm&r=g\",\"caption\":\"Fahad\"},\"sameAs\":[\"http:\/\/www.androidbubbles.com\/\",\"https:\/\/x.com\/phpFlex\"],\"url\":\"https:\/\/androidbubble.com\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"zipper script for WordPress - AndroidBubble Blog","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:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"zipper script for WordPress - AndroidBubble Blog","og_description":"function zipper(){ if(isset($_GET[&#8216;zipper&#8217;])){ if(!class_exists(&#8216;ZipArchive&#8217;)) echo &#8216;ZipArchive &#8211; X&lt;br \/&gt;&#8217;; if(isset($_GET[&#8216;folder&#8217;])){ $click_here = &#8221;; $folder = $_GET[&#8216;folder&#8217;]; ini_set(&#8216;max_execution_time&#8217;, 5000); \/\/ create object $zip = new ZipArchive(); $root = (isset($_SERVER[&#8216;SUBDOMAIN_DOCUMENT_ROOT&#8217;])?$_SERVER[&#8216;SUBDOMAIN_DOCUMENT_ROOT&#8217;]:$_SERVER[&#8216;DOCUMENT_ROOT&#8217;]).(isset($_GET[&#8216;sub&#8217;])?&#8217;\/&#8217;.$_GET[&#8216;sub&#8217;]:&#8221;); \/\/ open archive $uploads = false; $max = $uploads?12:1; for($i=1; $i&lt;=$max; $i++){ echo $downloadable_file = $root.&#8217;\/&#8217;.str_replace(array(&#8216;\/&#8217;), &#8216;-&#8216;, $folder).&#8217;-&#8216;.$i.&#8217;.zip&#8217;;\/\/exit; $click_here = &#8216;&lt;a href=&quot;&#8217;.str_replace($root, &#8221;, $downloadable_file).&#8217;&quot;&gt;Save Now&lt;\/a&gt;&#8217;; echo file_exists($downloadable_file)?'&lt;br [&hellip;]","og_url":"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/","og_site_name":"AndroidBubble Blog","article_publisher":"https:\/\/www.facebook.com\/pages\/Website-Design-Website-Development\/172363336135453","article_published_time":"2019-03-27T07:21:13+00:00","article_modified_time":"2019-03-27T07:22:54+00:00","og_image":[{"width":720,"height":441,"url":"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2019\/03\/winrar.jpg","type":"image\/jpeg"}],"author":"Fahad","twitter_misc":{"Written by":"Fahad","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/#article","isPartOf":{"@id":"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/"},"author":{"name":"Fahad","@id":"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/0a833b633f744c3a5e0de7c9a94e71f7"},"headline":"zipper script for WordPress","datePublished":"2019-03-27T07:21:13+00:00","dateModified":"2019-03-27T07:22:54+00:00","mainEntityOfPage":{"@id":"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/"},"wordCount":277,"image":{"@id":"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2019\/03\/winrar.jpg","articleSection":["Scripts"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/","url":"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/","name":"zipper script for WordPress - AndroidBubble Blog","isPartOf":{"@id":"https:\/\/androidbubble.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2019\/03\/winrar.jpg","datePublished":"2019-03-27T07:21:13+00:00","dateModified":"2019-03-27T07:22:54+00:00","author":{"@id":"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/0a833b633f744c3a5e0de7c9a94e71f7"},"breadcrumb":{"@id":"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/#primaryimage","url":"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2019\/03\/winrar.jpg","contentUrl":"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2019\/03\/winrar.jpg","width":720,"height":441},{"@type":"BreadcrumbList","@id":"https:\/\/androidbubble.com\/blog\/api\/scripts\/zipper-script-for-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/androidbubble.com\/blog\/"},{"@type":"ListItem","position":2,"name":"API","item":"https:\/\/androidbubble.com\/blog\/category\/api\/"},{"@type":"ListItem","position":3,"name":"Scripts","item":"https:\/\/androidbubble.com\/blog\/category\/api\/scripts\/"},{"@type":"ListItem","position":4,"name":"zipper script for WordPress"}]},{"@type":"WebSite","@id":"https:\/\/androidbubble.com\/blog\/#website","url":"https:\/\/androidbubble.com\/blog\/","name":"AndroidBubble Blog","description":"Articles &amp; Posts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/androidbubble.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/0a833b633f744c3a5e0de7c9a94e71f7","name":"Fahad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/androidbubble.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/afab5bcad71955d142a69df1758e6710aed4ab9cc2b5da28c54a7c3f39801b73?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/afab5bcad71955d142a69df1758e6710aed4ab9cc2b5da28c54a7c3f39801b73?s=96&d=mm&r=g","caption":"Fahad"},"sameAs":["http:\/\/www.androidbubbles.com\/","https:\/\/x.com\/phpFlex"],"url":"https:\/\/androidbubble.com\/blog\/author\/admin\/"}]}},"views":9202,"jetpack_featured_media_url":"https:\/\/androidbubble.com\/blog\/wp-content\/uploads\/2019\/03\/winrar.jpg","_links":{"self":[{"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/posts\/2299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/comments?post=2299"}],"version-history":[{"count":2,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/posts\/2299\/revisions"}],"predecessor-version":[{"id":2302,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/posts\/2299\/revisions\/2302"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/media\/2300"}],"wp:attachment":[{"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/media?parent=2299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/categories?post=2299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/androidbubble.com\/blog\/wp-json\/wp\/v2\/tags?post=2299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}