public function load() { $this->load_parts(array('single')); }
function amp_render() { amp_load_classes(); $post_id = get_queried_object_id(); do_action('pre_amp_render_post', $post_id); amp_add_post_template_actions(); $template = new AMP_Post_Template($post_id); $template->load(); exit; }