PluginProbe ʕ •ᴥ•ʔ
Custom Twitter Feeds – A Tweets Widget or X Feed Widget / 2.7.0
Custom Twitter Feeds – A Tweets Widget or X Feed Widget v2.7.0
2.8.0 2.7.0 2.6.1 2.6.0 1.0 1.0.1 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.2 1.2.1 1.2.10 1.2.11 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3 1.4 1.4.1 1.5 1.5.1 1.6 1.6.1 1.7 1.8 1.8.1 1.8.2 1.8.3 1.8.4 2.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1 2.1.1 2.1.2 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3.0 2.3.1 2.5.4 2.5.5 trunk
custom-twitter-feeds / admin / builder / assets / js / install-plugin-popup.js
custom-twitter-feeds / admin / builder / assets / js Last commit date
builder.js 1 month ago confirm-dialog.js 1 month ago date_i18n.js 1 month ago install-plugin-popup.js 1 month ago jquery.tooltipster.min.js 1 month ago oembed.js 1 month ago owl.autoheight.js 1 month ago ressources.js 1 month ago tooltip-wizard.js 1 month ago vue-color.min.js 1 month ago
install-plugin-popup.js
52 lines
1 /**
2 * Install Plugin Popup Popup
3 *
4 * @since 2.0
5 */
6 Vue.component('install-plugin-popup', {
7 name: 'install-plugin-popup',
8 template: '#install-plugin-popup',
9 props: [
10 'genericText',
11 'svgIcons',
12 'viewsActive',
13 'plugins'
14 ],
15 data: function() {
16 return{
17 installerStatus: null
18 }
19 },
20 methods : {
21 /**
22 * Install or Activate Plugin
23 *
24 * @since 2.0
25 *
26 * @return void
27 */
28 installOrActivatePlugin : function( plugin, pluginPath, action ){
29 this.installerStatus = 'loading';
30 let data = new FormData();
31 data.append( 'action', action );
32 data.append( 'nonce', cff_builder.nonce );
33 data.append( 'plugin', pluginPath );
34 data.append( 'type', 'plugin' );
35 fetch(cff_builder.ajax_handler, {
36 method: "POST",
37 credentials: 'same-origin',
38 body: data
39 })
40 .then(response => response.json())
41 .then(data => {
42 if( data.success == true ) {
43 this.installerStatus = null;
44 plugin.installed = true;
45 plugin.activated = true;
46 }
47 return;
48 });
49 },
50 },
51 });
52