Now, and I accept it's far better than the alternative; but growing old seems a painful process. As we ripen, some grow insidiously to the right; for others, myself included, nothing could be further from the truth. However, I am experiencing [...]
} add_action('after_body_tag', __NAMESPACE__ . '\add_google_tag_manager_after_body_tag', 0); /** * Adds the required tag manager snippet just after the opening body tag * * Note for this to work we had to add do_action('after_body_tag'); after the opening body tag. Just * an FYI if you want to reuse this snippet (with a seperate snippet unique to the site your adding it to) */ function add_google_tag_manager_after_body_tag() { ?>