File "class-wpcode-snippet-execute-html.php"

Full Path: /home/theinspectionboy/public_html/suffolk/plugins/insert-headers-and-footers/includes/execute/class-wpcode-snippet-execute-html.php
File size: 506 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * Execute html snippets and return their output.
 * This is probably the simplest one.
 *
 * @package wpcode
 */

/**
 * WPCode_Snippet_Execute_HTML class.
 */
class WPCode_Snippet_Execute_HTML extends WPCode_Snippet_Execute_Type {

	/**
	 * The snippet type, HTML for this one.
	 *
	 * @var string
	 */
	public $type = 'html';

	/**
	 * Grab snippet code and return its output.
	 *
	 * @return string
	 */
	protected function prepare_snippet_output() {
		return $this->get_snippet_code();
	}
}