File "shortcode-interface.php"

Full Path: /home/shadsolw/public_html/wp-content/plugins/edge-core/lib/shortcode-interface.php
File size: 525 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace EdgeCore\Lib;

/**
 * Interface ShortcodeInterface
 * @package EdgeCore\Lib
 */
interface ShortcodeInterface {
	/**
	 * Returns base for shortcode
	 * @return string
	 */
	public function getBase();
	
	/**
	 * Maps shortcode to Visual Composer. Hooked on vc_before_init
	 */
	public function vcMap();
	
	/**
	 * Renders shortcodes HTML
	 *
	 * @param $atts array of shortcode params
	 * @param $content string shortcode content
	 *
	 * @return string
	 */
	public function render( $atts, $content = null );
}