File "module.php"

Full Path: /home/fmpomerode/public_html/wp-content/plugins/bdthemes-element-pack/modules/crypto-currency-chart/module.php
File size: 686 bytes
MIME-type: text/x-c++; charset=us-ascii
Charset: utf-8

<?php
namespace ElementPack\Modules\CryptoCurrencyChart;

use ElementPack\Base\Element_Pack_Module_Base;

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

class Module extends Element_Pack_Module_Base {


	public function __construct() {
		parent::__construct();

		add_action("wp_ajax_ep_crypto", "ep_crypto");
		add_action("wp_ajax_nopriv_ep_crypto", "ep_crypto");

		add_action("wp_ajax_ep_crypto_data", "ep_crypto_data");
		add_action("wp_ajax_nopriv_ep_crypto_data", "ep_crypto_data");
	}

	public function get_name() {
		return 'crypto-currency-chart';
	}

	public function get_widgets() {
		$widgets = [
			'Crypto_Currency_Chart',
		];

		return $widgets;
	}
}