{"id":11940,"date":"2022-09-29T06:31:21","date_gmt":"2022-09-29T06:31:21","guid":{"rendered":"https:\/\/www.webhozz.com\/blog\/?p=11940"},"modified":"2023-05-11T06:24:54","modified_gmt":"2023-05-11T06:24:54","slug":"php-include-dan-require-file","status":"publish","type":"post","link":"https:\/\/www.webhozz.com\/blog\/php-include-dan-require-file\/","title":{"rendered":"PHP : Include dan Require File"},"content":{"rendered":"\n<h5 class=\"wp-block-heading\">Including File PHP ke File PHP yang lain<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">Pernyataan&nbsp;<strong><em>include()<\/em><\/strong>&nbsp;dan&nbsp;<strong><em>require()<\/em><\/strong>&nbsp;memungkinkan kalian untuk memasukkan kode yang terkandung dalam file PHP ke dalam file PHP yang lain. Including file menghasilkan hasil yang sama dengan menyalin skrip dari file yang ditentukan dan disisipkan ke lokasi di mana ia dipanggil.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Kalian dapat menghemat banyak waktu dan bekerja dengan including file \u2014- Simpan saja blok kode dalam file terpisah dan sertakan di mana pun kalian ingin menggunakan pernyataan&nbsp;<strong><em>include()<\/em><\/strong>&nbsp;dan&nbsp;<strong><em>require()<\/em><\/strong>&nbsp;sebagai ganti mengetik seluruh blok kode beberapa kali. Contoh yang umum adalah termasuk file header, footer dan menu di semua halaman situs web.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sintaks dasar pernyataan&nbsp;<strong><em>include()<\/em><\/strong>&nbsp;dan&nbsp;<strong><em>require()<\/em><\/strong>&nbsp;dapat diberikan dengan:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\ninclude(&quot;path\/to\/filename&quot;); -Or- include &quot;path\/to\/filename&quot;;\nrequire(&quot;path\/to\/filename&quot;); -Or- require &quot;path\/to\/filename&quot;;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Contoh berikut akan menunjukkan kepada kalian bagaimana memasukkan kode header, footer dan menu yang disimpan dalam file \u2018header.php\u2019, \u2018footer.php\u2019 dan \u2018menu.php\u2019 masing-masing secara terpisah, di semua halaman situs web kalian. Dengan menggunakan teknik ini, kalian dapat memperbarui semua halaman situs web sekaligus dengan membuat perubahan hanya pada satu file, ini menghemat banyak waktu pekerjaan yang berulang.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n&lt;!DOCTYPE html&gt;\n&lt;html lang=&quot;en&quot;&gt;\n&lt;head&gt;\n    &lt;title&gt;Tutorial Republic&lt;\/title&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;?php include &quot;header.php&quot;; ?&gt;\n&lt;?php include &quot;menu.php&quot;; ?&gt;\n    &lt;h1&gt;Welcome to Our Website!&lt;\/h1&gt;\n    &lt;p&gt;Here you will find lots of useful information.&lt;\/p&gt;\n&lt;?php include &quot;footer.php&quot;; ?&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;\n<\/pre><\/div>\n\n\n<h5 class=\"wp-block-heading\">Perbedaan Antara Pernyataan Include dan Require<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">Kalian mungkin berpikir jika kita dapat memasukkan file menggunakan pernyataan&nbsp;<strong><em>include()<\/em><\/strong>&nbsp;lalu mengapa kita perlu&nbsp;<strong><em>require()<\/em><\/strong>. Biasanya pernyataan&nbsp;<strong><em>require()<\/em><\/strong>&nbsp;beroperasi seperti&nbsp;<strong><em>include()<\/em><\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Satu-satunya perbedaan adalah \u2013 pernyataan&nbsp;<strong><em>include()<\/em><\/strong>&nbsp;hanya akan menghasilkan peringatan PHP tetapi mengizinkan eksekusi skrip untuk melanjutkan jika file yang akan dimasukkan tidak dapat ditemukan, sedangkan pernyataan&nbsp;<strong><em>require()<\/em><\/strong>&nbsp;akan menghasilkan fatal error dan menghentikan eksekusi skrip.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n&lt;?php require &quot;my_variables.php&quot;; ?&gt;\n&lt;?php require &quot;my_functions.php&quot;; ?&gt;\n&lt;!DOCTYPE html&gt;\n&lt;html lang=&quot;en&quot;&gt;\n&lt;head&gt;\n    &lt;title&gt;&lt;?php displayTitle($home_page); ?&gt;&lt;\/title&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;?php include &quot;header.php&quot;; ?&gt;\n&lt;?php include &quot;menu.php&quot;; ?&gt;\n    &lt;h1&gt;Welcome to Our Website!&lt;\/h1&gt;\n    &lt;p&gt;Here you will find lots of useful information.&lt;\/p&gt;\n&lt;?php include &quot;footer.php&quot;; ?&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;\n<\/pre><\/div>\n\n\n<h5 class=\"wp-block-heading\">Pernyataan include_once dan require_once<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">Jika kalian secara tidak sengaja memasukkan file yang sama (biasanya file fungsi atau kelas) lebih dari satu kali dalam kode kalian menggunakan pernyataan&nbsp;<strong><em>include<\/em><\/strong>&nbsp;atau&nbsp;<strong><em>require<\/em><\/strong>, itu dapat menyebabkan konflik. Untuk mencegah situasi ini, PHP memberikan pernyataan&nbsp;<strong><em>include_once<\/em><\/strong>&nbsp;dan&nbsp;<strong><em>require_once<\/em><\/strong>. Pernyataan-pernyataan ini berjalan dengan cara yang sama seperti pernyataan&nbsp;<strong><em>include<\/em><\/strong>&nbsp;dan&nbsp;<strong><em>require<\/em><\/strong>&nbsp;dengan satu pengecualian.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pernyataan&nbsp;<strong><em>include_once<\/em><\/strong>&nbsp;dan&nbsp;<strong><em>require_once<\/em><\/strong>&nbsp;hanya akan menyertakan file sekali bahkan jika diminta untuk memasukkannya kedua kali yaitu jika file yang ditentukan telah dimasukkan dalam pernyataan sebelumnya, maka file tidak disertakan lagi. Untuk lebih memahami cara kerjanya, mari lihat contoh. Misalkan kita memiliki file \u2018my_functions.php\u2019 dengan kode berikut:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n&lt;?php\nfunction multiplySelf($var){\n    $var *= $var; \/\/ multiply variable by itself\n    echo $var;\n}\n?&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Berikut ini adalah skrip PHP tempat kita menyertakan file \u2018my_functions.php\u2019.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n&lt;?php\n\/\/ Including file\nrequire &quot;my_functions.php&quot;;\n\/\/ Calling the function\nmultiplySelf(2); \/\/ Output: 4\necho &quot;&lt;br&gt;&quot;;\n  \n\/\/ Including file once again\nrequire &quot;my_functions.php&quot;;\n\/\/ Calling the function\nmultiplySelf(5); \/\/ Doesn&#039;t execute\n?&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Ketika kalian menjalankan skrip di atas, kalian akan melihat pesan error seperti ini:&nbsp;<strong>\u201cFatal error: Cannot redeclare&nbsp; multiplySelf().&nbsp;<\/strong>Ini terjadi karena \u2018my_functions.php\u2019 termasuk dua kali, ini berarti fungsi&nbsp;<strong><em>multiplySelf()<\/em><\/strong>&nbsp;didefinisikan dua kali, yang menyebabkan PHP menghentikan eksekusi skrip dan menghasilkan fatal error. Sekarang tulis ulang contoh di atas dengan&nbsp;<strong><em>require_once<\/em><\/strong>.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n&lt;?php\n\/\/ Including file\nrequire_once &quot;my_functions.php&quot;;\n\/\/ Calling the function\nmultiplySelf(2); \/\/ Output: 4\necho &quot;&lt;br&gt;&quot;;\n  \n\/\/ Including file once again\nrequire_once &quot;my_functions.php&quot;;\n\/\/ Calling the function\nmultiplySelf(5); \/\/ Output: 25\n?&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Including File PHP ke File PHP yang lain Pernyataan&nbsp;include()&nbsp;dan&nbsp;require()&nbsp;memungkinkan kalian untuk memasukkan kode yang terkandung dalam file PHP ke dalam file PHP yang lain. Including<\/p>\n","protected":false},"author":1,"featured_media":11872,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-11940","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-belajar-web-programming"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PHP : Include dan Require File - WebHozz 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:\/\/www.webhozz.com\/blog\/php-include-dan-require-file\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP : Include dan Require File - WebHozz Blog\" \/>\n<meta property=\"og:description\" content=\"Including File PHP ke File PHP yang lain Pernyataan&nbsp;include()&nbsp;dan&nbsp;require()&nbsp;memungkinkan kalian untuk memasukkan kode yang terkandung dalam file PHP ke dalam file PHP yang lain. Including\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhozz.com\/blog\/php-include-dan-require-file\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHozz Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-29T06:31:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-11T06:24:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2022\/09\/PHP_1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/php-include-dan-require-file\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/php-include-dan-require-file\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#\\\/schema\\\/person\\\/d5f539ad171dc74baaf6a98dfef6fcef\"},\"headline\":\"PHP : Include dan Require File\",\"datePublished\":\"2022-09-29T06:31:21+00:00\",\"dateModified\":\"2023-05-11T06:24:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/php-include-dan-require-file\\\/\"},\"wordCount\":459,\"publisher\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/php-include-dan-require-file\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/PHP_1.jpg\",\"articleSection\":[\"Belajar Web Programming\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/php-include-dan-require-file\\\/\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/php-include-dan-require-file\\\/\",\"name\":\"PHP : Include dan Require File - WebHozz Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/php-include-dan-require-file\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/php-include-dan-require-file\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/PHP_1.jpg\",\"datePublished\":\"2022-09-29T06:31:21+00:00\",\"dateModified\":\"2023-05-11T06:24:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/php-include-dan-require-file\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/php-include-dan-require-file\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/php-include-dan-require-file\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/PHP_1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/PHP_1.jpg\",\"width\":\"750\",\"height\":\"400\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/php-include-dan-require-file\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP : Include dan Require File\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/\",\"name\":\"WebHozz Blog\",\"description\":\"Kursus Web &amp; Android di Jakarta Bandung\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#organization\",\"name\":\"WebHozz\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/logo-persegi.jpg\",\"contentUrl\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/logo-persegi.jpg\",\"width\":442,\"height\":442,\"caption\":\"WebHozz\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/#\\\/schema\\\/person\\\/d5f539ad171dc74baaf6a98dfef6fcef\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bff35e4083f3870e2f911c4437e788147d340f274268d361dd7e1cf20bebb156?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bff35e4083f3870e2f911c4437e788147d340f274268d361dd7e1cf20bebb156?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bff35e4083f3870e2f911c4437e788147d340f274268d361dd7e1cf20bebb156?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/www.webhozz.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PHP : Include dan Require File - WebHozz 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:\/\/www.webhozz.com\/blog\/php-include-dan-require-file\/","og_locale":"en_US","og_type":"article","og_title":"PHP : Include dan Require File - WebHozz Blog","og_description":"Including File PHP ke File PHP yang lain Pernyataan&nbsp;include()&nbsp;dan&nbsp;require()&nbsp;memungkinkan kalian untuk memasukkan kode yang terkandung dalam file PHP ke dalam file PHP yang lain. Including","og_url":"https:\/\/www.webhozz.com\/blog\/php-include-dan-require-file\/","og_site_name":"WebHozz Blog","article_published_time":"2022-09-29T06:31:21+00:00","article_modified_time":"2023-05-11T06:24:54+00:00","og_image":[{"width":750,"height":400,"url":"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2022\/09\/PHP_1.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webhozz.com\/blog\/php-include-dan-require-file\/#article","isPartOf":{"@id":"https:\/\/www.webhozz.com\/blog\/php-include-dan-require-file\/"},"author":{"name":"admin","@id":"https:\/\/www.webhozz.com\/blog\/#\/schema\/person\/d5f539ad171dc74baaf6a98dfef6fcef"},"headline":"PHP : Include dan Require File","datePublished":"2022-09-29T06:31:21+00:00","dateModified":"2023-05-11T06:24:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhozz.com\/blog\/php-include-dan-require-file\/"},"wordCount":459,"publisher":{"@id":"https:\/\/www.webhozz.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.webhozz.com\/blog\/php-include-dan-require-file\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2022\/09\/PHP_1.jpg","articleSection":["Belajar Web Programming"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.webhozz.com\/blog\/php-include-dan-require-file\/","url":"https:\/\/www.webhozz.com\/blog\/php-include-dan-require-file\/","name":"PHP : Include dan Require File - WebHozz Blog","isPartOf":{"@id":"https:\/\/www.webhozz.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webhozz.com\/blog\/php-include-dan-require-file\/#primaryimage"},"image":{"@id":"https:\/\/www.webhozz.com\/blog\/php-include-dan-require-file\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2022\/09\/PHP_1.jpg","datePublished":"2022-09-29T06:31:21+00:00","dateModified":"2023-05-11T06:24:54+00:00","breadcrumb":{"@id":"https:\/\/www.webhozz.com\/blog\/php-include-dan-require-file\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhozz.com\/blog\/php-include-dan-require-file\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhozz.com\/blog\/php-include-dan-require-file\/#primaryimage","url":"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2022\/09\/PHP_1.jpg","contentUrl":"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2022\/09\/PHP_1.jpg","width":"750","height":"400"},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhozz.com\/blog\/php-include-dan-require-file\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhozz.com\/blog\/"},{"@type":"ListItem","position":2,"name":"PHP : Include dan Require File"}]},{"@type":"WebSite","@id":"https:\/\/www.webhozz.com\/blog\/#website","url":"https:\/\/www.webhozz.com\/blog\/","name":"WebHozz Blog","description":"Kursus Web &amp; Android di Jakarta Bandung","publisher":{"@id":"https:\/\/www.webhozz.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhozz.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webhozz.com\/blog\/#organization","name":"WebHozz","url":"https:\/\/www.webhozz.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhozz.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2018\/04\/logo-persegi.jpg","contentUrl":"https:\/\/www.webhozz.com\/blog\/wp-content\/uploads\/2018\/04\/logo-persegi.jpg","width":442,"height":442,"caption":"WebHozz"},"image":{"@id":"https:\/\/www.webhozz.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.webhozz.com\/blog\/#\/schema\/person\/d5f539ad171dc74baaf6a98dfef6fcef","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/bff35e4083f3870e2f911c4437e788147d340f274268d361dd7e1cf20bebb156?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/bff35e4083f3870e2f911c4437e788147d340f274268d361dd7e1cf20bebb156?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bff35e4083f3870e2f911c4437e788147d340f274268d361dd7e1cf20bebb156?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.webhozz.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/posts\/11940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/comments?post=11940"}],"version-history":[{"count":2,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/posts\/11940\/revisions"}],"predecessor-version":[{"id":12710,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/posts\/11940\/revisions\/12710"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/media\/11872"}],"wp:attachment":[{"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/media?parent=11940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/categories?post=11940"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhozz.com\/blog\/wp-json\/wp\/v2\/tags?post=11940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}