Viewing File: /home/maglabs/lacentraleit/wp-content/themes/mlab/inc/options/fields/markup.php

<?php
defined( 'ABSPATH' ) or die();


/**
 * This class will be present an colorpicker control
 */
class MLab_Options_Markup extends MLab_Options_Control
{
	/**
	 * The control type
	 * 
	 * @var  string
	 */
	public $type = 'markup';

	/**
	 * The custom markup
	 * 
	 * @var  string
	 */
	public $content;

	/**
	 * Assets files that will be enqueued
	 * 
	 * @var  array
	 */
	public $enqueue;

	/**
	 * Enqueue assets for this control
	 * 
	 * @return  void
	 */
	public function enqueue() {
	}
	
	/**
	 * Render the control markup
	 * 
	 * @return  void
	 */
	public function render_content() {
		echo mlab_cleanup( $this->content );
	}
}
Back to Directory File Manager