I’m trying to hook content into the generate_before_footer_hook area. I created the content in a new page (page-id-1200). A container block, background image, grid, icons. I want to insert that “block” in my pages using the generate_before_footer_hook. Isn’t there a function that would get the page? I don’t know how to write the function.
function get_page( $page, $output = OBJECT, $filter = ‘raw’ ) {
return get_post( $page, $output, $filter );
}