You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
777 B
26 lines
777 B
<?php if ( ! defined('WOODMART_THEME_DIR')) exit('No direct script access allowed');
|
|
|
|
/**
|
|
* ------------------------------------------------------------------------------------------------
|
|
* WPBakery Button element
|
|
* ------------------------------------------------------------------------------------------------
|
|
*/
|
|
|
|
if( ! class_exists( 'WOODMART_HB_Button' ) ) {
|
|
class WOODMART_HB_Button extends WOODMART_HB_Element {
|
|
|
|
public function __construct() {
|
|
|
|
$this->args = array(
|
|
'text' => esc_html__( 'Button with link', 'woodmart' ),
|
|
'icon' => WOODMART_ASSETS_IMAGES . '/header-builder/icons/hb-ico-button.svg',
|
|
);
|
|
|
|
$this->vc_element = 'woodmart_button';
|
|
parent::__construct();
|
|
$this->template_name = 'button';
|
|
}
|
|
|
|
public function map() {}
|
|
}
|
|
}
|
|
|