📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-06-26 09:08:29
📂
/ (Root)
/
home
/
supecsoq
/
public_html
/
domains
/
migalexpark.com
/
wp-content
/
plugins
/
loginpress-pro
/
js
📍 /home/supecsoq/public_html/domains/migalexpark.com/wp-content/plugins/loginpress-pro/js
🔄 Refresh
✏️
Editing: admin-action.js
Writable
jQuery(document).ready(function($) { $("#loginpressActiveFree").on( 'click', function(e) { e.preventDefault(); $("#loginpressActiveFree").hide(); $("#loginpressActivatingFree").show(); var path = 'loginpress/loginpress.php'; var _wpnonce = $('input[name="loginpress_active_free_nonce"]').val(); $.ajax({ url: ajaxurl, type: 'post', data:{ path : path, action: 'loginpress_activate_free', _wpnonce: _wpnonce, }, success: function(response) { // setTimeout(function(){ $("#loginpressActivatingFree").hide(); $("#loginpressActivatedFree").fadeIn( 1000, function() { $('.circle-loader').addClass('load-complete'); $('.checkmark').show(); } ); // }, 2000); setTimeout(function() { location.reload(); }, 4000); }, error: function(xhr, textStatus, errorThrown) { console.log('Ajax Not Working'); } }); // end ajax. }); $('#loginpressInstallFree').on('click', function(e) { e.preventDefault(); var el = $(this); $("#loginpressInstallFree").hide(); $("#loginpressInstallingFree").show(); var _wpnonce = $('input[name="loginpress_free_nonce"]').val(); var slug = 'loginpress'; $.ajax({ url : ajaxurl, type : 'post', data:{ slug : slug, _wpnonce : _wpnonce, action: 'install-plugin', }, success : function( res ) { if ( res.success ) { setTimeout(function(){ $("#loginpressInstallingFree").hide(); $("#loginpressActivatedFree").fadeIn( 1000, function() { $('.circle-loader').addClass('load-complete'); $('.checkmark').show(); }); }, 2000); window.location = res.data.activateUrl; } else { alert( res.data.errorMessage ); } }, error: function(xhr, textStatus, errorThrown) { console.log('Ajax Not Working'); } }); }); });
💾 Save Changes
❌ Cancel