{"id":2690,"date":"2022-05-07T09:16:11","date_gmt":"2022-05-07T01:16:11","guid":{"rendered":"https:\/\/www.intelliwolf.com\/?p=2690"},"modified":"2022-05-07T09:16:13","modified_gmt":"2022-05-07T01:16:13","slug":"add-meta-box-to-wordpress","status":"publish","type":"post","link":"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/","title":{"rendered":"How To Add A Meta Box To WordPress"},"content":{"rendered":"\n

I needed to add a meta box to the WordPress editor for my pages.<\/p>\n\n\n\n

Something that I could use to pull data from the post meta for that page, change it and update the post meta.<\/p>\n\n\n\n

In its most basic form, I needed something like this:<\/p>\n\n\n\n

\"Arrow<\/figure><\/div>\n\n\n\n

How to add a meta box to WordPress<\/h2>\n\n\n\n

To add a WordPress meta box, you need to:<\/p>\n\n\n\n

  1. Register your meta box<\/a><\/li>
  2. Add an action<\/a> connecting \"add_meta_boxes\" to your registration function<\/li>
  3. Create a function connected to the registration function that renders the meta box<\/a><\/li><\/ol>\n\n\n\n

    How to save and pull post meta data into your meta box<\/h2>\n\n\n\n

    To save and pull the post meta data into the meta box you created, you need to:<\/p>\n\n\n\n

    1. create a save function<\/a> that checks for data in your meta box, sanitizes the data and pushes it to the post meta with update_post_meta<\/em><\/li>
    2. hook that save function<\/a> in with add_action<\/em> to \"save_post\"<\/li><\/ol>\n\n\n\n

      This is the code that does all of that:<\/p>\n\n\n\n

      add_action( 'add_meta_boxes', 'register_iw_meta_box' );\nfunction register_iw_meta_box() {\n  add_meta_box( \n    'iw_meta_box', \n    'Intelliwolf Meta Box', \n    'render_iw_meta_box',\n\t'page', \n    'normal',\n    'low', \n    array( '__block_editor_compatible_meta_box' => true ) \n  );\n}\n\nfunction render_iw_meta_box( $post ) {\n  $iw_meta = get_post_meta( $post->ID, 'iw_meta', true );\n  echo \"<p>Add Your Info<\/p>\n    <input type='text' name='iw_meta_data' value='$iw_meta'>\";\n}\n\nadd_action( 'save_post', 'save_iw_meta_box' );\nfunction save_iw_meta_box() {\n  if (!isset($_POST['iw_meta_data'])) {\n    return;\n  }\n  global $post;\n  update_post_meta( \n    $post->ID, \n    'iw_meta',\n    sanitize_text_field( $_POST['iw_meta_data'] ) \n  );\n}<\/code><\/pre>\n\n\n\n

      Just a word on the code style - many people put the hook that calls the function below the function. I prefer to put it above, so it's all right there. You don't notice it in small functions like here, but if you have something longer, it makes a big difference doing it this way.<\/p>\n\n\n\n

      Let's break the code down.<\/p>\n\n\n\n

      Register your meta box<\/h2>\n\n\n\n
      function register_iw_meta_box() {\n  add_meta_box( \n    'iw_meta_box', \n    'Intelliwolf Meta Box', \n    'render_iw_meta_box',\n    'page', \n    'normal',\n    'low', \n    array( '__block_editor_compatible_meta_box' => true ) \n  );\n}<\/code><\/pre>\n\n\n\n

      When called, this function will add a meta box with these arguments:<\/p>\n\n\n\n

      1. iw_meta_box<\/li>
      2. Intelliwolf Meta Box<\/li>
      3. render_iw_meta_box<\/li>
      4. page<\/li>
      5. normal<\/li>
      6. low<\/li>
      7. array ( '__block_editor_compatible_meta_box' => true )<\/li><\/ol>\n\n\n\n

        These have the following meanings:<\/p>\n\n\n\n

        1. The id of the meta box. This needs to be unique because it will be the div ID upon render.<\/li>
        2. The title that you'll see rendered as a H2 in the meta box<\/li>
        3. This tells the meta box which function to use to output the contents of the meta box.<\/li>
        4. Which screen to display the meta box on. In most cases, you're going to put 'post' or 'page' here. If you wanted both, you'd do it as array( 'post', 'page' ). You could also do comments or custom post types here.<\/li>
        5. The position around the WordPress editor. Use 'normal' for below the editor like I have in the screenshot above, or 'side' to put it in the sidebar.<\/li>
        6. The priority or ordering among the meta boxes. 'low' puts it below everything else. You could also do 'high', 'core' or 'default'. Just play with this to get it where you want it to display.<\/li>
        7. The final one in this form says it's ok to use it on the normal block editor. You can also set it to only display on the classic editor if you need. You can use this array to pass other variables, if needed.<\/li><\/ol>\n\n\n\n

          Hook into the registered meta box<\/h2>\n\n\n\n

          We need to tell WordPress to run our registration function.<\/p>\n\n\n\n

          We add an add_action<\/em> so that our registration function is called when WordPress runs the \"add_meta_boxes\" hook.<\/p>\n\n\n\n

          Make sure the second parameter here is the same as the registration function name.<\/p>\n\n\n\n

          add_action( 'add_meta_boxes', 'register_iw_meta_box' );<\/code><\/pre>\n\n\n\n

          Render the meta box HTML<\/h2>\n\n\n\n

          Now we need to output the HTML that will appear in the meta box.<\/p>\n\n\n\n

          function render_iw_meta_box( $post ) {\n  $iw_meta = get_post_meta( $post->ID, 'iw_meta', true );\n  echo \"<p>Add Your Info<\/p>\n    <input type='text' name='iw_meta_data' value='$iw_meta'>\";\n}<\/code><\/pre>\n\n\n\n

          The function name here must match the third argument in the registration function<\/a>.<\/p>\n\n\n\n

          If you just want to output a notice in your meta box, you don't need to add $post<\/em> to the function argument.<\/p>\n\n\n\n

          Calling $post<\/em> will bring in the full $post<\/em> object, so you have full access to things like the post title, ID, etc.<\/p>\n\n\n\n

          In this example, we're getting the contents of the post meta that we save in a later function.<\/p>\n\n\n\n

          $iw_meta = get_post_meta( $post->ID, 'iw_meta', true );<\/code><\/pre>\n\n\n\n

          The second argument in get_post_meta()<\/em> is the meta key of the post meta that we save to the database<\/a>.<\/p>\n\n\n\n

          Setting the third argument in get_post_meta()<\/em> to true means we get just the post meta, rather than getting it in an array, which is the default. In 16+ years of building WordPress, I've never used anything but true<\/em> here.<\/p>\n\n\n\n

          The rest of the code in this function is what goes into your meta box.<\/p>\n\n\n\n

          Note that in:<\/p>\n\n\n\n

          echo \"<input type='text' name='iw_meta_data' value='$iw_meta'>\";<\/code><\/pre>\n\n\n\n

          I'm setting the value of the input to be what we've saved to the post meta for the current post.<\/p>\n\n\n\n

          If we've never saved anything in this field for this post, or it's blank, the value will just be blank, so you shouldn't run into any issues with error output here.<\/p>\n\n\n\n

          Because I'm only saving one field as a string, I don't need to do any further processing to make $iw_meta<\/em> usable as a value in this input.<\/p>\n\n\n\n

          You'll have to split out the data from the array if you're saving multiple fields.<\/p>\n\n\n\n

          Next we move on to saving the data when the user inputs it.<\/p>\n\n\n\n

          Sanitize and save the post meta<\/h2>\n\n\n\n
          function save_iw_meta_box() {\n  if (!isset($_POST['iw_meta_data'])) {\n    return;\n  }\n  global $post;\n  update_post_meta( \n    $post->ID, \n    'iw_meta',\n    sanitize_text_field( $_POST['iw_meta_data'] ) \n  );\n}<\/code><\/pre>\n\n\n\n

          First, we check if there is any post meta data to save, with<\/p>\n\n\n\n

          if (!isset($_POST['iw_meta_data']))<\/code><\/pre>\n\n\n\n

          This conditional says \"if there's no data to save...\" then we immediately exit the function without doing further processing.<\/p>\n\n\n\n

          We use global $post;<\/em> to get the data about the current post. We'll only usually need the post ID.<\/p>\n\n\n\n

          If you have more than just a simple text field like I've used in this example, you should go through the array and sanitize each field according to its type at this point.<\/p>\n\n\n\n

          Sanitizing is extremely important when saving anything to the database. Not doing so opens your database up to being hacked or corrupted.<\/p>\n\n\n\n

          We save the data to the database with update_post_meta()<\/em>.<\/p>\n\n\n\n

          The arguments are<\/p>\n\n\n\n

          1. the post ID,<\/li>
          2. the meta key (make sure it matches the key from rendering the HTML<\/a>)<\/li>
          3. the data we want to save to the post meta.<\/li><\/ol>\n\n\n\n

            Add the save function to WordPress Hook<\/h2>\n\n\n\n
            add_action( 'save_post', 'save_iw_meta_box' );<\/code><\/pre>\n\n\n\n

            The final step is to connect the save function into the 'save_post' hook, so that it gets processed whenever the post or page is saved.<\/p>\n\n\n\n

            With all of that code, you should have a meta box with a bit of text and an input field below the editor when you edit a page.<\/p>\n\n\n\n

            \"WordPress<\/figure><\/div>\n\n\n\n

            If you add anything to the input field and save the post, you will see that information be saved to the _postmeta table in your database for that post, listed under the meta key you set.<\/p>\n\n\n\n

            \"wp_postmeta<\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"

            I needed to add a meta box to the WordPress editor for my pages. Something that I could use to pull data from the post meta for that page, change it and update the post meta. In its most basic form, I needed something like this: How to add a meta box to WordPress To<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"yoast_head":"\nHow To Add A Meta Box To WordPress<\/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.intelliwolf.com\/add-meta-box-to-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Add A Meta Box To WordPress\" \/>\n<meta property=\"og:description\" content=\"I needed to add a meta box to the WordPress editor for my pages. Something that I could use to pull data from the post meta for that page, change it and update the post meta. In its most basic form, I needed something like this: How to add a meta box to WordPress To\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Intelliwolf\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-07T01:16:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-07T01:16:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.intelliwolf.com\/wp-content\/uploads\/2022\/05\/2022-05-06-add-meta-box-01-600x356.png\" \/>\n<meta name=\"author\" content=\"Mike Haydon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mike Haydon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/\"},\"author\":{\"name\":\"Mike Haydon\",\"@id\":\"https:\/\/www.intelliwolf.com\/#\/schema\/person\/7209e3ff14822e4d70d5f194a310f343\"},\"headline\":\"How To Add A Meta Box To WordPress\",\"datePublished\":\"2022-05-07T01:16:11+00:00\",\"dateModified\":\"2022-05-07T01:16:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/\"},\"wordCount\":1050,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.intelliwolf.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.intelliwolf.com\/wp-content\/uploads\/2022\/05\/2022-05-06-add-meta-box-01-600x356.png\",\"articleSection\":[\"Admin Customization\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/\",\"url\":\"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/\",\"name\":\"How To Add A Meta Box To WordPress\",\"isPartOf\":{\"@id\":\"https:\/\/www.intelliwolf.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.intelliwolf.com\/wp-content\/uploads\/2022\/05\/2022-05-06-add-meta-box-01-600x356.png\",\"datePublished\":\"2022-05-07T01:16:11+00:00\",\"dateModified\":\"2022-05-07T01:16:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/#primaryimage\",\"url\":\"https:\/\/www.intelliwolf.com\/wp-content\/uploads\/2022\/05\/2022-05-06-add-meta-box-01.png\",\"contentUrl\":\"https:\/\/www.intelliwolf.com\/wp-content\/uploads\/2022\/05\/2022-05-06-add-meta-box-01.png\",\"width\":714,\"height\":424},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.intelliwolf.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Admin Customization\",\"item\":\"https:\/\/www.intelliwolf.com\/category\/admin-customization\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How To Add A Meta Box To WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.intelliwolf.com\/#website\",\"url\":\"https:\/\/www.intelliwolf.com\/\",\"name\":\"Intelliwolf\",\"description\":\"WordPress, Web Design & Coding Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.intelliwolf.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.intelliwolf.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.intelliwolf.com\/#organization\",\"name\":\"Intelliwolf\",\"url\":\"https:\/\/www.intelliwolf.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.intelliwolf.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.intelliwolf.com\/wp-content\/uploads\/intelliwolf-logo-300t.png\",\"contentUrl\":\"https:\/\/www.intelliwolf.com\/wp-content\/uploads\/intelliwolf-logo-300t.png\",\"width\":300,\"height\":100,\"caption\":\"Intelliwolf\"},\"image\":{\"@id\":\"https:\/\/www.intelliwolf.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.intelliwolf.com\/#\/schema\/person\/7209e3ff14822e4d70d5f194a310f343\",\"name\":\"Mike Haydon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.intelliwolf.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d5f4754fae310a04dede91d15e57c8a0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d5f4754fae310a04dede91d15e57c8a0?s=96&d=mm&r=g\",\"caption\":\"Mike Haydon\"},\"sameAs\":[\"https:\/\/intelliwolf.com\/about-mike-haydon\/\"]}]}<\/script>\n","yoast_head_json":{"title":"How To Add A Meta Box To WordPress","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.intelliwolf.com\/add-meta-box-to-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How To Add A Meta Box To WordPress","og_description":"I needed to add a meta box to the WordPress editor for my pages. Something that I could use to pull data from the post meta for that page, change it and update the post meta. In its most basic form, I needed something like this: How to add a meta box to WordPress To","og_url":"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/","og_site_name":"Intelliwolf","article_published_time":"2022-05-07T01:16:11+00:00","article_modified_time":"2022-05-07T01:16:13+00:00","og_image":[{"url":"https:\/\/www.intelliwolf.com\/wp-content\/uploads\/2022\/05\/2022-05-06-add-meta-box-01-600x356.png"}],"author":"Mike Haydon","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mike Haydon","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/#article","isPartOf":{"@id":"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/"},"author":{"name":"Mike Haydon","@id":"https:\/\/www.intelliwolf.com\/#\/schema\/person\/7209e3ff14822e4d70d5f194a310f343"},"headline":"How To Add A Meta Box To WordPress","datePublished":"2022-05-07T01:16:11+00:00","dateModified":"2022-05-07T01:16:13+00:00","mainEntityOfPage":{"@id":"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/"},"wordCount":1050,"commentCount":0,"publisher":{"@id":"https:\/\/www.intelliwolf.com\/#organization"},"image":{"@id":"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.intelliwolf.com\/wp-content\/uploads\/2022\/05\/2022-05-06-add-meta-box-01-600x356.png","articleSection":["Admin Customization"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/","url":"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/","name":"How To Add A Meta Box To WordPress","isPartOf":{"@id":"https:\/\/www.intelliwolf.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/www.intelliwolf.com\/wp-content\/uploads\/2022\/05\/2022-05-06-add-meta-box-01-600x356.png","datePublished":"2022-05-07T01:16:11+00:00","dateModified":"2022-05-07T01:16:13+00:00","breadcrumb":{"@id":"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/#primaryimage","url":"https:\/\/www.intelliwolf.com\/wp-content\/uploads\/2022\/05\/2022-05-06-add-meta-box-01.png","contentUrl":"https:\/\/www.intelliwolf.com\/wp-content\/uploads\/2022\/05\/2022-05-06-add-meta-box-01.png","width":714,"height":424},{"@type":"BreadcrumbList","@id":"https:\/\/www.intelliwolf.com\/add-meta-box-to-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.intelliwolf.com\/"},{"@type":"ListItem","position":2,"name":"Admin Customization","item":"https:\/\/www.intelliwolf.com\/category\/admin-customization\/"},{"@type":"ListItem","position":3,"name":"How To Add A Meta Box To WordPress"}]},{"@type":"WebSite","@id":"https:\/\/www.intelliwolf.com\/#website","url":"https:\/\/www.intelliwolf.com\/","name":"Intelliwolf","description":"WordPress, Web Design & Coding Tutorials","publisher":{"@id":"https:\/\/www.intelliwolf.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.intelliwolf.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.intelliwolf.com\/#organization","name":"Intelliwolf","url":"https:\/\/www.intelliwolf.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.intelliwolf.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.intelliwolf.com\/wp-content\/uploads\/intelliwolf-logo-300t.png","contentUrl":"https:\/\/www.intelliwolf.com\/wp-content\/uploads\/intelliwolf-logo-300t.png","width":300,"height":100,"caption":"Intelliwolf"},"image":{"@id":"https:\/\/www.intelliwolf.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.intelliwolf.com\/#\/schema\/person\/7209e3ff14822e4d70d5f194a310f343","name":"Mike Haydon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.intelliwolf.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d5f4754fae310a04dede91d15e57c8a0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d5f4754fae310a04dede91d15e57c8a0?s=96&d=mm&r=g","caption":"Mike Haydon"},"sameAs":["https:\/\/intelliwolf.com\/about-mike-haydon\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.intelliwolf.com\/wp-json\/wp\/v2\/posts\/2690"}],"collection":[{"href":"https:\/\/www.intelliwolf.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.intelliwolf.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.intelliwolf.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.intelliwolf.com\/wp-json\/wp\/v2\/comments?post=2690"}],"version-history":[{"count":3,"href":"https:\/\/www.intelliwolf.com\/wp-json\/wp\/v2\/posts\/2690\/revisions"}],"predecessor-version":[{"id":2703,"href":"https:\/\/www.intelliwolf.com\/wp-json\/wp\/v2\/posts\/2690\/revisions\/2703"}],"wp:attachment":[{"href":"https:\/\/www.intelliwolf.com\/wp-json\/wp\/v2\/media?parent=2690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.intelliwolf.com\/wp-json\/wp\/v2\/categories?post=2690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.intelliwolf.com\/wp-json\/wp\/v2\/tags?post=2690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}