Skip to content

Instantly share code, notes, and snippets.

@dima-stefantsov
dima-stefantsov / PostmanEmailLogView.php
Created Dec 7, 2015
\wp-content\plugins\postman-smtp\Postman\Postman-Email-Log\PostmanEmailLogView.php
View PostmanEmailLogView.php
<?php
/**
* See http://wpengineer.com/2426/wp_list_table-a-step-by-step-guide/
*
*/
if (! class_exists ( 'WP_List_Table' )) {
require_once (ABSPATH . 'wp-admin/includes/class-wp-list-table.php');
}
class PostmanEmailLogView extends WP_List_Table {
View sitemap.cshtml
@inherits umbraco.MacroEngines.DynamicNodeContext
@using umbraco;
@using umbraco.NodeFactory;
@using System.Xml;
@{
// Clear any current response
Response.Clear();
// Set new response type to rss
Response.ContentType = "text/xml";