File "module.php"
Full Path: /home/fmpomerode/public_html/wp-content/plugins/powerpack-lite-for-elementor/modules/buttons/module.php
File size: 730 bytes
MIME-type: text/x-c++; charset=us-ascii
Charset: utf-8
<?php
namespace PowerpackElementsLite\Modules\Buttons;
use PowerpackElementsLite\Base\Module_Base;
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
class Module extends Module_Base {
public function __construct() {
parent::__construct();
add_action( 'elementor/frontend/after_register_styles', [ $this, 'register_styles' ] );
}
public function get_name() {
return 'pp-buttons';
}
public function get_widgets() {
return [
'Buttons',
];
}
/**
* Register styles.
*
* @return void
*/
public function register_styles() {
wp_register_style(
'widget-pp-buttons',
$this->get_css_assets_url( 'widget-buttons', null, true, true ),
[],
POWERPACK_ELEMENTS_LITE_VER
);
}
}