{"id":19809,"date":"2026-07-13T11:37:00","date_gmt":"2026-07-13T10:37:00","guid":{"rendered":"https:\/\/esbuk.org\/?page_id=19809"},"modified":"2026-07-15T11:38:41","modified_gmt":"2026-07-15T10:38:41","slug":"esol-resource-registration-complete","status":"publish","type":"page","link":"https:\/\/esbuk.org\/index.php\/esol-resource-registration-complete\/","title":{"rendered":"ESOL Resources Registration"},"content":{"rendered":"\n<script>\n(function () {\n\n    \/******************************************************\n     * ESB eBrochure Callback\n     ******************************************************\/\n\n    const COOKIE_NAME = \"esb_brochure_status\";\n    const STORAGE_KEY = \"esbBrochureReturnUrl\";\n\n    const FALLBACK_URL =\n        \"https:\/\/esbuk.org\/index.php\/esol-skills-for-life\/\";\n\n    \/******************************************************\n     * STEP 1\n     * Break out of iframe if necessary.\n     ******************************************************\/\n\n    if (window.self !== window.top) {\n\n        window.top.location.href = window.location.href;\n        return;\n\n    }\n\n    \/******************************************************\n     * STEP 2\n     * Create brochure cookie\n     ******************************************************\/\n\n    const expiry = new Date();\n    expiry.setFullYear(expiry.getFullYear() + 2);\n\n    document.cookie =\n        COOKIE_NAME +\n        \"=downloaded;\" +\n        \"expires=\" + expiry.toUTCString() +\n        \";path=\/;\" +\n        \"domain=.esbuk.org;\" +\n        \"SameSite=Lax;\" +\n        \"Secure\";\n\n    \/******************************************************\n     * STEP 3\n     * Retrieve original page\n     ******************************************************\/\n\n    const returnUrl =\n        localStorage.getItem(STORAGE_KEY);\n\n    \/******************************************************\n     * STEP 4\n     * Remove stored URL\n     ******************************************************\/\n\n    localStorage.removeItem(STORAGE_KEY);\n\n    \/******************************************************\n     * STEP 5\n     * Redirect visitor\n     ******************************************************\/\n\n    if (returnUrl) {\n\n        window.location.replace(returnUrl);\n\n    } else {\n\n        window.location.replace(FALLBACK_URL);\n\n    }\n\n})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"wp-custom-template-esb-template","meta":{"footnotes":""},"class_list":["post-19809","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/esbuk.org\/index.php\/wp-json\/wp\/v2\/pages\/19809","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/esbuk.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/esbuk.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/esbuk.org\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/esbuk.org\/index.php\/wp-json\/wp\/v2\/comments?post=19809"}],"version-history":[{"count":7,"href":"https:\/\/esbuk.org\/index.php\/wp-json\/wp\/v2\/pages\/19809\/revisions"}],"predecessor-version":[{"id":19848,"href":"https:\/\/esbuk.org\/index.php\/wp-json\/wp\/v2\/pages\/19809\/revisions\/19848"}],"wp:attachment":[{"href":"https:\/\/esbuk.org\/index.php\/wp-json\/wp\/v2\/media?parent=19809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}