Repository URL to install this package:
|
Version:
3.5.0 ▾
|
<?php
namespace ZionBuilderPro\Elements\InnerContent;
use ZionBuilder\Elements\Element;
use ZionBuilderPro\Utils;
use ZionBuilderPro\Repeater;
// Prevent direct access
if ( ! defined( 'ABSPATH' ) ) {
return;
}
/**
* Class InnerContent
*
* @package ZionBuilderPro\Elements
*/
class InnerContent extends Element {
/**
* Get type
*
* Returns the unique id for the element
*
* @return string The element id/type
*/
public function get_type() {
return 'inner-content';
}
/**
* Get name
*
* Returns the name for the element
*
* @return string The element name
*/
public function get_name() {
return __( 'Inner Content', 'zionbuilder-pro' );
}
/**
* Get Category
*
* Will return the element category
*
* @return string
*/
public function get_category() {
return 'content';
}
/**
* Get keywords
*
* Returns the keywords for this element
*
* @return array The list of element keywords
*/
public function get_keywords() {
return [ 'inner content', 'post' ];
}
/**
* Get Element Icon
*
* Returns the icon used in add elements panel for this element
*
* @return string The element icon
*/
public function get_element_icon() {
return 'element-pagination';
}
/**
* Render
*
* Will render the element based on options
*
* @param mixed $options
*
* @return void
*/
public function render( $options ) {
the_content();
}
}