Skip to content

Commit

Permalink
pls-provide replaced with plugin-provider
Browse files Browse the repository at this point in the history
  • Loading branch information
ramyakrishnai committed Oct 22, 2024
1 parent 4841b94 commit ab7fd4c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions includes/js/myPluginsTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ class MyPluginTools {
return `<button
title="Activate Plugin"
data-nfd-installer-plugin-activate="${true}"
data-nfd-installer-plugin-slug="${pluginData?.plsSlug}"
data-nfd-installer-plugin-provider="${pluginData?.plsProviderName}"
data-nfd-installer-pls-slug="${pluginData?.plsSlug}"
data-nfd-installer-pls-provider="${pluginData?.plsProviderName}"
data-nfd-installer-plugin-name="${pluginData?.name}"
data-nfd-installer-plugin-url="${this.renderCTAUrl(pluginData?.cta?.url)}"
href="${this.renderCTAUrl(pluginData?.cta?.url)}"
Expand All @@ -86,16 +86,16 @@ class MyPluginTools {
title="Install Premium Plugin"
class="nfd-solutions-availble-list-item-button"
data-nfd-installer-plugin-activate="${true}"
data-nfd-installer-plugin-slug="${pluginData?.plsSlug}"
data-nfd-installer-plugin-provider="${pluginData?.plsProviderName}"
data-nfd-installer-pls-slug="${pluginData?.plsSlug}"
data-nfd-installer-pls-provider="${pluginData?.plsProviderName}"
data-nfd-installer-plugin-name="${pluginData?.name}"
data-nfd-installer-plugin-url="${this.renderCTAUrl(pluginData?.cta?.url)}"
>${pluginData?.cta?.text}</button>`;
} else if ( pluginData?.download ) { // free plugin
return `<button
title="Install Plugin"
class="nfd-solutions-availble-list-item-button"
data-nfd-installer-plugin-provider="${pluginData?.plsProviderName}"
data-nfd-installer-pls-provider="${pluginData?.plsProviderName}"
data-nfd-installer-plugin-activate="${true}"
data-nfd-installer-plugin-name="${pluginData?.name}"
data-nfd-installer-download-url="${pluginData?.download}"
Expand Down

0 comments on commit ab7fd4c

Please sign in to comment.