Added with_meta query param to get_templates and get_template calls