Server : LiteSpeed
System : Linux quebec.us.hostns.io 5.14.0-687.42.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 27 11:55:12 EDT 2026 x86_64
User : gazetufm ( 1431)
PHP Version : 8.1.35
Disable Function : NONE
Directory :  /home2/gazetufm/leonora.al/wp-content/plugins/wpforms-lite/src/Forms/Fields/Traits/

📁 Create New:
⬆️ Upload File:
Current Dir [ Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: MoveButtons.php

Path: //home2/gazetufm/leonora.al/wp-content/plugins/wpforms-lite/src/Forms/Fields/Traits/MoveButtons.php

Size: 909 B

Permissions: 0644

<?php

namespace WPForms\Forms\Fields\Traits;

/**
 * Trait MoveButtons.
 *
 * Markup for the field preview move buttons.
 *
 * @since 2.0.2
 */
trait MoveButtons {

	/**
	 * Generate the field move buttons HTML.
	 *
	 * @since 2.0.2
	 *
	 * @return string Move buttons HTML.
	 */
	protected function get_move_buttons_html(): string {

		// The toolbar uses a roving tabindex: the FieldMover module assigns tabindex="0" to a single button.
		return sprintf(
			'<a href="#" role="button" tabindex="-1" class="wpforms-field-move-up" title="%1$s" aria-label="%1$s"><i class="fa fa-angle-up" aria-hidden="true"></i></a>',
			esc_attr__( 'Move Field Up', 'wpforms-lite' )
		) . sprintf(
			'<a href="#" role="button" tabindex="-1" class="wpforms-field-move-down" title="%1$s" aria-label="%1$s"><i class="fa fa-angle-down" aria-hidden="true"></i></a>',
			esc_attr__( 'Move Field Down', 'wpforms-lite' )
		);
	}
}

← Back to Directory Edit File 🔒 Chmod

WP File Manager