PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.9
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.9
4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 All 140 releases
← All changes | assets/src/js/admin/generate-with-openai.js +0 -4 4.3.7 → 4.4.9 View file →
@@ -56,9 +56,8 @@
56 56 lpUtils.lpOnElementReady( '#wp-content-media-buttons', ( el ) => {
57 57 el.insertAdjacentHTML(
58 58 'beforeend',
59 59 `<button type="button"
60 - style="padding: 5px 10px; justify-content: center;"
61 60 class="lp-btn-generate-with-ai lp-btn-ai-style"
62 61 data-template="#lp-tmpl-edit-description-ai">
63 62 <i class="lp-ico-ai"></i><span>Generate description with AI</span>
64 63 </button>`,
@@ -68,9 +67,8 @@
68 67 const elInside = el.querySelector( '.postbox-header' );
69 68 elInside.insertAdjacentHTML(
70 69 'afterend',
71 70 `<button type="button"
72 - style="padding: 5px 10px; justify-content: center;"
73 71 class="lp-btn-generate-with-ai lp-btn-ai-style"
74 72 data-template="#lp-tmpl-edit-image-ai">
75 73 <i class="lp-ico-ai"></i><span>${ lpData.i18n.generate_with_ai }</span>
76 74 </button>`
@@ -101,9 +99,8 @@
101 99 lpUtils.lpOnElementReady( '.editor-post-featured-image', ( el ) => {
102 100 el.insertAdjacentHTML(
103 101 'beforebegin',
104 102 `<button type="button"
105 - style="padding: 5px 10px; justify-content: center;"
106 103 class="lp-btn-generate-with-ai"
107 104 data-template="#lp-tmpl-edit-description-ai">
108 105 <i class="lp-ico-ai"></i><span>Generate description with AI</span>
109 106 </button>`
@@ -114,9 +111,8 @@
114 111 lpUtils.lpOnElementReady( '.editor-post-featured-image', ( el ) => {
115 112 el.insertAdjacentHTML(
116 113 'afterend',
117 114 `<button type="button"
118 - style="padding: 5px 10px; justify-content: center;"
119 115 class="lp-btn-generate-with-ai"
120 116 data-template="#lp-tmpl-edit-image-ai">
121 117 <i class="lp-ico-ai"></i><span>${ lpData.i18n.generate_with_ai }</span>
122 118 </button>`