Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/elementor/core/dynamic-tags/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/wp-content/plugins/elementor/core/dynamic-tags/data-tag.php |
<?php
namespace Elementor\Core\DynamicTags;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* Elementor base data tag.
*
* An abstract class to register new Elementor data tags.
*
* @since 2.0.0
* @abstract
*/
abstract class Data_Tag extends Base_Tag {
/**
* @since 2.0.0
* @access protected
* @abstract
*
* @param array $options
*/
abstract protected function get_value( array $options = [] );
/**
* @since 2.0.0
* @access public
*/
final public function get_content_type() {
return 'plain';
}
/**
* @since 2.0.0
* @access public
*
* @param array $options
*
* @return mixed
*/
public function get_content( array $options = [] ) {
return $this->get_value( $options );
}
}