gutenberg
3 years ago
gutenbergComponents
3 years ago
autoupdate_banner.js
3 years ago
banner_main.js
3 years ago
circle-progress.js
3 years ago
datatables.min.js
4 years ago
jquery.multi-select.js
4 years ago
jquery.tagsinput.min.js
4 years ago
referral_program.js
3 years ago
sidebar-plugin.js
3 years ago
speed.js
3 years ago
two_admin.js
1 year ago
two_admin_bar.js
4 years ago
two_bf_countdown.js
3 years ago
two_deactivate_plugin.js
3 years ago
two_elementor_editor.js
2 years ago
two_preview.js
3 years ago
two_update_white_label.js
1 year ago
two_white_label.js
2 years ago
two_deactivate_plugin.js
16 lines
| 1 | jQuery(document).ready(function(){ |
| 2 | jQuery('.two_deactivate_plugin').click(function(){ |
| 3 | var plugin_slug = jQuery(this).attr('data-plugin-slug'); |
| 4 | jQuery.ajax({ |
| 5 | type: "POST", |
| 6 | url: two_admin_vars.ajaxurl, |
| 7 | data: { |
| 8 | 'action': 'two_deactivate_plugins', |
| 9 | 'nonce': two_admin_vars.ajaxnonce, |
| 10 | 'plugin_slug': plugin_slug, |
| 11 | }, |
| 12 | }).done(function (data) { |
| 13 | location.reload(); |
| 14 | }) |
| 15 | }) |
| 16 | }) |