oont-contents/plugins/insert-headers-and-footers/includes/execute/class-wpcode-snippet-execute-html.php
2025-04-06 08:34:48 +02:00

29 lines
506 B
PHP

<?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();
}
}