Skip to content

Commit

Permalink
Merge pull request #37 from Mahjouba91/feature/36-wpae-user-add-on-pro
Browse files Browse the repository at this point in the history
Add User Export Add-On Pro support
  • Loading branch information
junaidbhura authored Apr 21, 2022
2 parents 378b04f + eb83b21 commit 6856c4c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,22 @@ Add the following to your composer.json file:
"junaidbhura/composer-wp-pro-plugins": "*"
}
}
}
},
{
"type": "package",
"package": {
"name": "junaidbhura/wpae-user-add-on-pro",
"version": "<version_number>",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://www.wpallimport.com"
},
"require": {
"junaidbhura/composer-wp-pro-plugins": "*"
}
}
},
],
"require": {
"junaidbhura/advanced-custom-fields-pro": "*",
Expand All @@ -176,7 +191,8 @@ Add the following to your composer.json file:
"junaidbhura/wp-all-import-pro": "*",
"junaidbhura/wp-all-export-pro": "*",
"junaidbhura/wpai-acf-add-on": "*",
"junaidbhura/wpae-acf-add-on": "*"
"junaidbhura/wpae-acf-add-on": "*",
"junaidbhura/wpae-user-add-on-pro": "*"
},
```

Expand Down
3 changes: 3 additions & 0 deletions plugins/WpAiPro.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ public function getDownloadUrl() {
case 'wpae-woocommerce-add-on':
$name = 'WooCommerce Export Add-On Pro';
break;
case 'wpae-user-add-on-pro':
$name = 'User Export Add-On Pro';
break;
default:
$name = 'WP All Export';
$license = getenv( 'WP_ALL_EXPORT_PRO_KEY' );
Expand Down

0 comments on commit 6856c4c

Please sign in to comment.