HEX
Server: Apache
System: Linux 162-240-236-42.bluehost.com 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
User: bt667 (1004)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /home/bt667/www/wp-content/plugins/accelerated-mobile-pages/pagebuilder/modules/button-module.php
<?php 
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;
$output = '<div class="amp_pb_module amp_btn {{css_class}}">
<a href="{{button_link}}">{{button_txt}}</a></div>';
return array(
		'label' =>'Button',
		'name' =>'button',
          'default_tab'=> 'customizer',
          'tabs' => array(
              'customizer'=>'Customizer',
              'container_css'=>'Container css'
            ),
		'fields'=> array(
				 	array(
                    'type'    => 'text',
                    'name'    => 'button_txt',
                    'label'   => 'Button Text',
                    'tab'     => 'customizer',
                    'default' => 'Click Here',
                    'content_type'=>'html',
						),
				 	array(
                    'type'    => 'text',
                    'name'    => 'button_link',
                    'label'   => 'Button Link',
                    'tab'     =>'customizer',
                    'default' => '#',
                    'content_type'=>'html',
						),
				 	array(
                    'type'    => 'text',
                    'name'    => 'css_class',
                    'label'   => 'Custom CSS Class',
                    'tab'     =>'container_css',
                    'default' => '',
                    'content_type'=>'html',
						)
            
        ),
		'front_template'=>$output,
        'front_css'=>'', 
        'front_common_css'=>'',
	);
?>