403Webshell
Server IP : 192.64.118.117  /  Your IP : 3.15.164.218
Web Server : LiteSpeed
System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User : thecgapy ( 1160)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/thecgapy/mobilecreationz.com/wp-content/plugins/leads/shared/shortcodes/shortcodes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/thecgapy/mobilecreationz.com/wp-content/plugins/leads/shared/shortcodes/shortcodes/leadp.php
<?php
/**
*   Lead Paragraph Shortcode
*/

/* 	Shortcode generator config
 * 	----------------------------------------------------- */
	$shortcodes_config['leadp'] = array(
		'no_preview' => true,
		'options' => array(
			'align' => array(
				'name' => __('Alignment', 'inbound-pro' ),
				'desc' => __('Add the pharagraph alignment', 'inbound-pro' ),
				'type' => 'select',
				'options' => array(
					'left' => 'Align Left',
					'right' => 'Align Right',
					'center' => 'Align Center'
				),
				'std' => ''
			),
			'content' => array(
				'name' => __('Paragraph Text', 'inbound-pro' ),
				'desc' => __('Add the pharagraph text', 'inbound-pro' ),
				'type' => 'textarea',
				'std' => ''
			)
		),
		'shortcode' => '[leadp align="{{align}}"]{{content}}[/leadp]',
		'popup_title' => __('Insert Lead Paragraph Shortcode', 'inbound-pro' )
	);

/* 	Add shortcode
 * 	----------------------------------------------------- */
	add_shortcode('leadp', 'inbound_shortcode_leadp');
	if (!function_exists('inbound_shortcode_leadp')) {
		function inbound_shortcode_leadp( $atts, $content = null ) {
			extract(shortcode_atts(array(
				'align' => ''
			), $atts));

			return '<p class="lead" style="text-align:'.$align.'">' . do_shortcode($content) . '</p>';
		}
	}

Youez - 2016 - github.com/yon3zu
LinuXploit