????JFIF??x?x????'
| Server IP : 172.67.174.47  /  Your IP : 216.73.216.83 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././home/tempvsty/./buyeaa.com/wp-content/plugins/wpforms-lite/src/Admin/Builder/ | 
| Upload File : | 
<?php
namespace WPForms\Admin\Builder;
/**
 * Context Menu class.
 *
 * @since 1.8.6
 */
class ContextMenu {
	/**
	 * Init class.
	 *
	 * @since 1.8.6
	 */
	public function init() {
		$this->hooks();
	}
	/**
	 * Register hooks.
	 *
	 * @since 1.8.6
	 */
	protected function hooks() {
		add_action( 'wpforms_builder_enqueues', [ $this, 'enqueues' ] );
		add_action( 'wpforms_admin_page', [ $this, 'output' ], 20 );
	}
	/**
	 * Enqueue assets.
	 *
	 * @since 1.8.6
	 */
	public function enqueues() {
		$min = wpforms_get_min_suffix();
		wp_enqueue_script(
			'wpforms-builder-context-menu',
			WPFORMS_PLUGIN_URL . "assets/js/admin/builder/context-menu{$min}.js",
			[ 'wpforms-builder' ],
			WPFORMS_VERSION,
			true
		);
	}
	/**
	 * Output context menu markup.
	 *
	 * @since 1.8.6
	 */
	public function output() {
		// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
		echo wpforms_render( 'builder/field-context-menu' );
	}
}