Changeset 3195301
- Timestamp:
- 11/23/2024 02:13:14 AM (16 months ago)
- Location:
- pdf-for-wpforms/trunk
- Files:
-
- 3 edited
-
pdf-for-wpforms.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
wpforms/index.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pdf-for-wpforms/trunk/pdf-for-wpforms.php
r3194297 r3195301 4 4 * Description: WPForms PDF Customizer is a helpful tool that helps you build and customize the PDF Templates for WPforms. 5 5 * Plugin URI: https://add-ons.org/plugin/wpforms-pdf-generator-attachment/ 6 * Version: 4.4. 16 * Version: 4.4.2 7 7 * Requires PHP: 5.6 8 8 * Author: add-ons.org -
pdf-for-wpforms/trunk/readme.txt
r3194297 r3195301 4 4 Requires at least: 2.0 5 5 Tested up to: 6.7 6 Stable tag: 4.4. 06 Stable tag: 4.4.2 7 7 Requires PHP: 5.6 8 8 License: GPLv2 or later -
pdf-for-wpforms/trunk/wpforms/index.php
r3194297 r3195301 61 61 <?php 62 62 } 63 public function is_pro() { 64 if(method_exists('wpforms',"is_pro")){ 65 return wpforms()->is_pro(); 66 }else{ 67 return false; 68 } 69 } 63 70 function settings_js(){ 64 71 if(isset($_GET["page"]) && $_GET["page"] == "wpforms-builder"){ 65 72 wp_enqueue_script('yeepdf_wpforms', BUIDER_PDF_WPFORMS_PLUGIN_URL. 'wpforms/yeepdf-wpforms.js',array("jquery")); 66 73 $pro ="free"; 67 if ( wpforms()->is_pro()) {74 if ($this->is_pro()) { 68 75 $pro ="pro"; 69 76 } … … 187 194 return; 188 195 } 189 if ( wpforms()->is_pro()) {196 if ($this->is_pro()) { 190 197 $fields = wpforms_decode( $wpforms->entry->fields ); 191 198 $entry = (array) wpforms()->entry->get($wpforms->entry->entry_id); … … 199 206 //click resend notify 200 207 function resend($emails){ 201 if ( wpforms()->is_pro()) {208 if ($this->is_pro()) { 202 209 $fields = $emails->fields; 203 210 $entry = (array) wpforms()->entry->get($emails->entry_id); … … 316 323 } 317 324 } 318 if ( wpforms()->is_pro()) {325 if ($this->is_pro()) { 319 326 wpforms()->entry_meta->add( 320 327 [ … … 503 510 ] 504 511 ); 505 506 512 if($pro){ 507 513 wpforms_panel_field(
Note: See TracChangeset
for help on using the changeset viewer.