PluginProbe
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor / 4.0.3
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor v4.0.3
4.0.3 4.0.2 4.0.1 4.0.0 3.16.6 3.16.5 3.16.4 3.16.3 3.16.2 3.16.1 3.16.0 3.15.9 3.9.9 3.9.5 3.9.6 3.9.7 3.9.8 1.1.7 1.1.8 1.1.9 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 341 releases
← All changes | admin/add-ons.php +224 -224 3.9.84.0.3 View file →
@@ -26,158 +26,168 @@
26 26 * @return string
27 27 */
28 28 function wppb_add_ons_content() {
29 29 //initialize the object
30 - $pb_addons_listing = new CL_Addons_List_Table();
31 - $pb_addons_listing->images_folder = WPPB_PLUGIN_URL.'assets/images/';
32 - $pb_addons_listing->text_domain = 'profile-builder';
33 - $pb_addons_listing->header = array( 'title' => __('Profile Builder Add-ons', 'profile-builder' ) );
34 - $pb_addons_listing->current_version = PROFILE_BUILDER;
35 - $pb_addons_listing->tooltip_header = __( 'Profile Builder Add-ons', 'profile-builder' );
36 - $pb_addons_listing->tooltip_content = sprintf( __( 'You must first purchase this version to have access to the addon %1$shere%2$s', 'profile-builder' ), '<a target="_blank" href="https://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PB">', '</a>' );
30 + $pb_addons_listing = new CL_Addons_List_Table();
31 + $pb_addons_listing->images_folder = WPPB_PLUGIN_URL.'assets/images/add-ons/';
32 + $pb_addons_listing->text_domain = 'profile-builder';
33 + $pb_addons_listing->header = array( 'title' => __('Profile Builder Add-ons', 'profile-builder' ) );
34 + $pb_addons_listing->current_version = PROFILE_BUILDER;
35 + $pb_addons_listing->tooltip_header = __( 'Profile Builder Add-ons', 'profile-builder' );
36 + $pb_addons_listing->tooltip_content = sprintf( __( 'You need an active license to have access to the addon. %1$sRenew%2$s or %3$spurchase a new one here%4$s.', 'profile-builder' ), '<a target="_blank" href="https://www.cozmoslabs.com/account/?utm_source=pb-addons&utm_medium=client-site&utm_campaign=pb-expired-license">', '</a>', '<a target="_blank" href="https://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=pb-addons&utm_medium=client-site&utm_campaign=pb-expired-license#pricing">', '</a>' );
37 + $pb_addons_listing->tooltip_content_license_inactive = sprintf( __( 'To activate this add-on, you must first %senter your license key%s.', 'profile-builder' ), '<a target="_blank" href="'.admin_url( 'admin.php?page=profile-builder-general-settings' ).'">', '</a>' );
37 38
38 39
39 40 //Add Pro Section
40 - $pb_addons_listing->section_header = array( 'title' => __('Pro Add-ons', 'profile-builder' ), 'description' => __('These Add-ons are available with the Pro and Unlimited license', 'profile-builder') );
41 - $pb_addons_listing->section_versions = array( 'Profile Builder Pro', 'Profile Builder Agency', 'Profile Builder Unlimited' );
42 - $pb_addons_listing->items = array(
43 - array( 'slug' => 'wppb_multipleRegistrationForms',
44 - 'type' => 'add-on',
45 - 'name' => __( 'Multiple Registration Forms', 'profile-builder' ),
46 - 'description' => __( 'Set up multiple registration forms with different fields for certain user roles. Helps capture different information from different types of users.', 'profile-builder' ),
47 - 'icon' => 'pro_multiple_registration.png',
48 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/modules/multiple-registration-forms/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
49 - ),
50 - array( 'slug' => 'wppb_multipleEditProfileForms',
51 - 'type' => 'add-on',
52 - 'name' => __( 'Multiple Edit Profile Forms', 'profile-builder' ),
53 - 'description' => __( 'Allow different user roles to edit their specific information. Set up multiple edit-profile forms with different fields for certain user roles.', 'profile-builder' ),
54 - 'icon' => 'pro_multiple_edit_profile.png',
55 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/modules/multiple-edit-profile-forms/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
56 - ),
41 + $pb_addons_listing->section_header = array( 'title' => __( 'Pro Add-ons', 'profile-builder' ), 'description' => __( 'These Add-ons are available with the Pro and Agency license', 'profile-builder' ) );
42 + $pb_addons_listing->section_header_free = array( 'title' => __( 'Pro Add-ons', 'profile-builder' ), 'description' => sprintf( __( 'Get access to these Add-ons with a Pro or Agency license. %sBuy now%s', 'profile-builder' ), '<a href="https://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=pb-addons-pro&utm_medium=client-site&utm_campaign=pb-pro-addons-upsell#pricing" target="_blank">', '</a>' ) );
43 + $pb_addons_listing->section_versions = array( 'Profile Builder Pro', 'Profile Builder Agency', 'Profile Builder Unlimited' );
44 + // The Multiple Registration / Multiple Edit Profile Forms cards were
45 + // removed because the underlying functionality is now bundled with the
46 + // form-builder (see form-builder/multiple-forms/). Users access the
47 + // classic UI via the per-CPT toggle in Advanced Settings -> Forms ->
48 + // Forms Editor, so the standalone upsell cards no longer apply.
49 + $pb_addons_listing->items = array(
57 50 array( 'slug' => 'wppb_userListing',
58 - 'type' => 'add-on',
59 - 'name' => __( 'User Listing', 'profile-builder' ),
51 + 'type' => 'add-on',
52 + 'name' => __( 'User Listing', 'profile-builder' ),
60 53 'description' => __( 'Easy to edit templates for listing your users as well as creating single user pages.', 'profile-builder' ),
61 - 'icon' => 'pro_user_listing.png',
62 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/modules/user-listing/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
54 + 'icon' => 'pb-add-on-userlisting-logo.png',
55 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/modules/user-listing/?utm_source=pb-addons-pro&utm_medium=client-site&utm_campaign=pb-user-listing-addon',
63 56 ),
64 - // array( 'slug' => 'wppb_emailCustomizer',
65 - // 'type' => 'add-on',
66 - // 'name' => __( 'Email Customizer', 'profile-builder' ),
67 - // 'description' => __( 'Simple to use customization of the WordPress Registration Emails', 'profile-builder' ),
68 - // 'icon' => 'pro_email_customizer.png',
69 - // 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/modules/user-email-customizer/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
70 - // ),
71 57 array( 'slug' => 'wppb_customRedirect',
72 - 'type' => 'add-on',
73 - 'name' => __( 'Custom Redirects', 'profile-builder' ),
58 + 'type' => 'add-on',
59 + 'name' => __( 'Custom Redirects', 'profile-builder' ),
74 60 'description' => __( 'Redirect users after login, after they first register or when they try to access the default WordPress dashboard, login, lost password and registration forms.', 'profile-builder' ),
75 - 'icon' => 'pro_custom_redirects.png',
76 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/modules/custom-redirects/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
61 + 'icon' => 'pb-add-on-custom-redirects-logo.png',
62 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/modules/custom-redirects/?utm_source=pb-addons-pro&utm_medium=client-site&utm_campaign=pb-custom-redirects-addon',
77 63 ),
64 + array( 'slug' => 'wppb_fileRestriction',
65 + 'type' => 'add-on',
66 + 'name' => __( 'Files Restriction', 'profile-builder' ),
67 + 'description' => __( 'Protect your Media Library by restricting direct links to media files according to user roles.', 'profile-builder' ),
68 + 'icon' => 'pb-add-on-file-restriction-logo.png',
69 + 'doc_url' => 'https://www.cozmoslabs.com/add-ons/files-restriction/?utm_source=pb-addons-pro&utm_medium=client-site&utm_campaign=pb-files-restriction-addon',
70 + ),
78 71 array( 'slug' => 'wppb_repeaterFields',
79 - 'type' => 'add-on',
80 - 'name' => __( 'Repeater Fields', 'profile-builder' ),
72 + 'type' => 'add-on',
73 + 'name' => __( 'Repeater Fields', 'profile-builder' ),
81 74 'description' => __( 'The Repeater Field Module makes it really easy to add repeater front-end fields or groups of fields to your user profile. Integration with both the Email Customizer and User Listing modules, makes creating advanced user profiles possible.', 'profile-builder' ),
82 - 'icon' => 'pro_repeater_fields.png',
83 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/modules/repeater-fields/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
75 + 'icon' => 'pb-add-on-repeater-fields-logo.png',
76 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/modules/repeater-fields/?utm_source=pb-addons-pro&utm_medium=client-site&utm_campaign=pb-repeater-fields-addon',
84 77 ),
85 78 array( 'slug' => 'buddypress',
86 - 'type' => 'add-on',
87 - 'name' => __( 'BuddyPress', 'profile-builder' ),
88 - 'description' => __( 'This integration add-on allows extending BuddyPress user profiles with Profile Builder user fields.', 'profile-builder' ),
89 - 'icon' => 'pro_buddypress.png',
90 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/buddypress/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
91 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/buddypress/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
79 + 'type' => 'add-on',
80 + 'name' => __( 'BuddyPress', 'profile-builder' ),
81 + 'description' => __( 'This integration add-on allows extending BuddyPress user profiles with Profile Builder user fields.', 'profile-builder' ),
82 + 'icon' => 'pb-add-on-buddypress-logo.png',
83 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/add-ons/buddypress/?utm_source=pb-addons-pro&utm_medium=client-site&utm_campaign=pb-buddypress-addon',
84 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/buddypress/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree',
92 85 ),
93 86 );
94 87 $pb_addons_listing->add_section();
95 88
96 - //Add Hobbyist section
97 - $pb_addons_listing->section_header = array( 'title' => __('Advanced Add-ons', 'profile-builder' ), 'description' => __('These Add-ons are available with the Basic, Pro and Unlimited license', 'profile-builder') );
89 + //Add Basic section
90 + $pb_addons_listing->section_header = array( 'title' => __( 'Basic Add-ons', 'profile-builder' ), 'description' => __( 'These Add-ons are available with the Basic, Pro and Agency license', 'profile-builder' ) );
91 + $pb_addons_listing->section_header_free = array( 'title' => __( 'Basic Add-ons', 'profile-builder' ), 'description' => sprintf( __( 'Get access to these Add-ons with a Basic, Pro or Agency license. %sBuy now%s', 'profile-builder' ), '<a href="https://www.cozmoslabs.com/wordpress-profile-builder/?utm_source=pb-addons-basic&utm_medium=client-site&utm_campaign=pb-basic-addons-upsell#pricing" target="_blank">', '</a>' ) );
98 92 $pb_addons_listing->section_versions = array( 'Profile Builder Pro', 'Profile Builder Hobbyist', 'Profile Builder Basic', 'Profile Builder Agency', 'Profile Builder Unlimited' );
99 93 $pb_addons_listing->items = array(
94 + array( 'slug' => 'form-fields-in-columns',
95 + 'type' => 'add-on',
96 + 'name' => __( 'Form Fields in Columns', 'profile-builder' ),
97 + 'description' => __( 'Extends the functionality of Profile Builder by adding the possibility to organize fields in columns.', 'profile-builder' ),
98 + 'icon' => 'pb-add-on-form-fields-in-columns-logo.png',
99 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/add-ons/form-fields-in-columns/?utm_source=pb-addons-basic&utm_medium=client-site&utm_campaign=pb-field-columns-addon',
100 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/form-fields-in-columns/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree',
101 + ),
100 102 array( 'slug' => 'social-connect',
101 - 'type' => 'add-on',
102 - 'name' => __( 'Social Connect', 'profile-builder' ),
103 - 'description' => __( 'Easily configure and enable social login on your website. Users can login with social platforms like Facebook, Google+ or Twitter.', 'profile-builder' ),
104 - 'icon' => 'pb_addon_small_social_connect.png',
105 - 'doc_url' => 'http://www.cozmoslabs.com/docs/profile-builder-2/add-ons/social-connect/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
106 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/social-connect/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro'
103 + 'type' => 'add-on',
104 + 'name' => __( 'Social Connect', 'profile-builder' ),
105 + 'description' => __( 'Easily configure and enable social login on your website. Users can login with social platforms like Facebook, Google or X.', 'profile-builder' ),
106 + 'icon' => 'pb-add-on-social-connect-logo.png',
107 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/add-ons/social-connect/?utm_source=pb-addons-basic&utm_medium=client-site&utm_campaign=pb-social-connect-addon',
108 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/social-connect/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree'
107 109 ),
108 110 array( 'slug' => 'woocommerce',
109 - 'type' => 'add-on',
110 - 'name' => __( 'WooCommerce Sync', 'profile-builder' ),
111 - 'description' => __( 'Syncs Profile Builder with WooCommerce, allowing you to manage the user Shipping and Billing fields from WooCommerce with Profile Builder.', 'profile-builder' ),
112 - 'icon' => 'pb_addon_small_woosync.png',
113 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/woocommerce-sync/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
114 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/woocommerce-sync/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
111 + 'type' => 'add-on',
112 + 'name' => __( 'WooCommerce Sync', 'profile-builder' ),
113 + 'description' => __( 'Syncs Profile Builder with WooCommerce, allowing you to manage the user Shipping and Billing fields from WooCommerce with Profile Builder.', 'profile-builder' ),
114 + 'icon' => 'pb-add-on-woocommerce-logo.png',
115 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/add-ons/woocommerce-sync/?utm_source=pb-addons-basic&utm_medium=client-site&utm_campaign=pb-woo-sync-addon',
116 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/woocommerce-sync/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree',
115 117 ),
116 118 array( 'slug' => 'multi-step-forms',
117 - 'type' => 'add-on',
118 - 'name' => __( 'Multi Step Forms', 'profile-builder' ),
119 - 'description' => __( 'Extends the functionality of Profile Builder by adding the possibility of having multi-page registration and edit-profile forms.', 'profile-builder' ),
120 - 'icon' => 'pb_addon_small_multistep_forms.png',
121 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/multi-step-forms/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
122 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/multi-step-forms/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
119 + 'type' => 'add-on',
120 + 'name' => __( 'Multi Step Forms', 'profile-builder' ),
121 + 'description' => __( 'Extends the functionality of Profile Builder by adding the possibility of having multi-page registration and edit-profile forms.', 'profile-builder' ),
122 + 'icon' => 'pb-add-on-multi-step-forms-logo.png',
123 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/add-ons/multi-step-forms/?utm_source=pb-addons-basic&utm_medium=client-site&utm_campaign=pb-multi-step-addon',
124 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/multi-step-forms/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree',
123 125 ),
124 126 array( 'slug' => 'mailchimp-integration',
125 - 'type' => 'add-on',
126 - 'name' => __( 'MailChimp', 'profile-builder' ),
127 - 'description' => __( 'Easily associate MailChimp list fields with Profile Builder fields and set advanced settings for each list.', 'profile-builder' ),
128 - 'icon' => 'pb_addon_small_mailchimp.png',
129 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/mailchimp/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
130 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/profile-builder-mailchimp/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
127 + 'type' => 'add-on',
128 + 'name' => __( 'MailChimp', 'profile-builder' ),
129 + 'description' => __( 'Easily associate MailChimp list fields with Profile Builder fields and set advanced settings for each list.', 'profile-builder' ),
130 + 'icon' => 'pb-add-on-mailchimp-logo.png',
131 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/add-ons/mailchimp/?utm_source=pb-addons-basic&utm_medium=client-site&utm_campaign=pb-mailchimp-addon',
132 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/profile-builder-mailchimp/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree',
131 133 ),
132 134 array( 'slug' => 'bbpress',
133 - 'type' => 'add-on',
134 - 'name' => __( 'bbPress', 'profile-builder' ),
135 - 'description' => __( 'This add-on allows you to integrate Profile Builder with the popular forums plugin, bbPress.', 'profile-builder' ),
136 - 'icon' => 'pb_addon_small_bbpress.png',
137 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/bbpress/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
138 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/bbpress/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
135 + 'type' => 'add-on',
136 + 'name' => __( 'bbPress', 'profile-builder' ),
137 + 'description' => __( 'This add-on allows you to integrate Profile Builder with the popular forums plugin, bbPress.', 'profile-builder' ),
138 + 'icon' => 'pb-add-on-bbpress-logo.png',
139 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/add-ons/bbpress/?utm_source=pb-addons-basic&utm_medium=client-site&utm_campaign=pb-bbpress-addon',
140 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/bbpress/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree',
139 141 ),
140 142 array( 'slug' => 'campaign-monitor',
141 - 'type' => 'add-on',
142 - 'name' => __( 'Campaign Monitor', 'profile-builder' ),
143 - 'description' => __( 'Easily associate Campaign Monitor client list fields with Profile Builder fields. Use Profile Builder Campaign Monitor Widget to add more subscribers to your lists.', 'profile-builder' ),
144 - 'icon' => 'pb_addon_small_campaignmonitor.png',
145 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/campaign-monitor/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
146 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/profile-builder-campaign-monitor/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
143 + 'type' => 'add-on',
144 + 'name' => __( 'Campaign Monitor', 'profile-builder' ),
145 + 'description' => __( 'Easily associate Campaign Monitor client list fields with Profile Builder fields. Use Profile Builder Campaign Monitor Widget to add more subscribers to your lists.', 'profile-builder' ),
146 + 'icon' => 'pb-add-on-campaign-monitor-logo.png',
147 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/add-ons/campaign-monitor/?utm_source=pb-addons-basic&utm_medium=client-site&utm_campaign=pb-campaign-monitor-addon',
148 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/profile-builder-campaign-monitor/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree',
147 149 ),
148 150 array( 'slug' => 'field-visibility',
149 - 'type' => 'add-on',
150 - 'name' => __( 'Field Visibility', 'profile-builder' ),
151 - 'description' => __( 'Extends the functionality of Profile Builder by allowing you to change visibility options for the extra fields.', 'profile-builder' ),
152 - 'icon' => 'pb_addon_small_fieldvisibility.png',
153 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/field-visibility/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
154 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/field-visibility/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
151 + 'type' => 'add-on',
152 + 'name' => __( 'Field Visibility', 'profile-builder' ),
153 + 'description' => __( 'Extends the functionality of Profile Builder by allowing you to change visibility options for the extra fields.', 'profile-builder' ),
154 + 'icon' => 'pb-add-on-field-visibility-logo.png',
155 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/add-ons/field-visibility/?utm_source=pb-addons-basic&utm_medium=client-site&utm_campaign=pb-field-visibility-addon',
156 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/field-visibility/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree',
155 157 ),
156 158 array( 'slug' => 'edit-profile-approved-by-admin',
157 - 'type' => 'add-on',
158 - 'name' => __( 'Edit Profile Approved by Admin', 'profile-builder' ),
159 - 'description' => __( 'Extends the functionality of Profile Builder by allowing administrators to approve profile changes made by users on individual fields.', 'profile-builder' ),
160 - 'icon' => 'pb_addon_epaa_small.png',
161 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/edit-profile-approved-by-admin/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
162 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/edit-profile-approved-by-admin/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
159 + 'type' => 'add-on',
160 + 'name' => __( 'Edit Profile Approved by Admin', 'profile-builder' ),
161 + 'description' => __( 'Extends the functionality of Profile Builder by allowing administrators to approve profile changes made by users on individual fields.', 'profile-builder' ),
162 + 'icon' => 'pb-add-on-edit-profile-updates-approved-by-admins-logo.png',
163 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/add-ons/edit-profile-approved-by-admin/?utm_source=pb-addons-basic&utm_medium=client-site&utm_campaign=pb-profile-approved-admin-addon',
164 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/edit-profile-approved-by-admin/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree',
163 165 ),
164 166 array( 'slug' => 'custom-profile-menus',
165 - 'type' => 'add-on',
166 - 'name' => __( 'Custom Profile Menus', 'profile-builder' ),
167 - 'description' => __( 'Add custom menu items like Login/Logout or just Logout button and Login/Register/Edit Profile in iFrame Popup.', 'profile-builder' ),
168 - 'icon' => 'pb_addon_small_custom_menu.png',
169 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/custom-profile-menus/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
170 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/custom-profile-menus/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
167 + 'type' => 'add-on',
168 + 'name' => __( 'Custom Profile Menus', 'profile-builder' ),
169 + 'description' => __( 'Add custom menu items like Login/Logout or just Logout button and Login/Register/Edit Profile in iFrame Popup.', 'profile-builder' ),
170 + 'icon' => 'pb-add-on-custom-profile-menus-logo.png',
171 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/add-ons/custom-profile-menus/?utm_source=pb-addons-basic&utm_medium=client-site&utm_campaign=pb-custom-profile-menus-addon',
172 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/custom-profile-menus/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree',
171 173 ),
172 174 array( 'slug' => 'mailpoet-integration',
173 - 'type' => 'add-on',
174 - 'name' => __( 'MailPoet', 'profile-builder' ),
175 - 'description' => __( 'Allow users to subscribe to your MailPoet lists directly from the Register and Edit Profile forms.', 'profile-builder' ),
176 - 'icon' => 'pb_addon_small_mailpoet.png',
177 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/mailpoet/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
178 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/mailpoet/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
175 + 'type' => 'add-on',
176 + 'name' => __( 'MailPoet', 'profile-builder' ),
177 + 'description' => __( 'Allow users to subscribe to your MailPoet lists directly from the Register and Edit Profile forms.', 'profile-builder' ),
178 + 'icon' => 'pb-add-on-mailpoet-logo.png',
179 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/add-ons/mailpoet/?utm_source=pb-addons-basic&utm_medium=client-site&utm_campaign=pb-mailpoet-addon',
180 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/mailpoet/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree',
179 181 ),
182 + array( 'slug' => 'progress-bar',
183 + 'type' => 'add-on',
184 + 'name' => __( 'Progress Bar', 'profile-builder' ),
185 + 'description' => __( 'Display a live completion progress bar on your Register and Edit Profile forms.', 'profile-builder' ),
186 + 'icon' => 'pb-add-on-progress-bar-logo.png',
187 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/add-ons/progress-bar/?utm_source=pb-addons-basic&utm_medium=client-site&utm_campaign=pb-progress-bar-addon',
188 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/progress-bar/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree',
189 + )
180 190 );
181 191 $pb_addons_listing->add_section();
182 192
183 193 //Add Free section
@@ -183,79 +193,61 @@
183 193 //Add Free section
184 194 $pb_addons_listing->section_header = array( 'title' => __('Free Add-ons', 'profile-builder' ), 'description' => __('These Add-ons are available in all versions of Profile Builder', 'profile-builder') );
185 195 $pb_addons_listing->section_versions = array( 'Profile Builder Pro', 'Profile Builder Hobbyist', 'Profile Builder Free', 'Profile Builder Basic', 'Profile Builder Agency', 'Profile Builder Unlimited' );
186 196 $pb_addons_listing->items = array(
197 + array( 'slug' => 'user-profile-picture',
198 + 'type' => 'add-on',
199 + 'name' => __( 'User Profile Picture', 'profile-builder' ),
200 + 'description' => __( 'Set or remove a custom profile image for a user using the standard WordPress media upload tool.', 'profile-builder' ),
201 + 'icon' => 'pb-add-on-user-profile-picture-logo.png',
202 + 'doc_url' => 'https://www.cozmoslabs.com/user-profile-picture/?utm_source=pb-addons-free&utm_medium=client-site&utm_campaign=pb-profile-picture-addon',
203 + 'download_url' => 'https://wordpress.org/plugins/metronet-profile-picture/',
204 + 'version' => 'free',
205 + ),
187 206 array( 'slug' => 'import-export',
188 - 'type' => 'add-on',
189 - 'name' => __( 'Import and Export', 'profile-builder' ),
190 - 'description' => __( 'With the help of this add-on you will be able to export all Profile Builder Settings data to a .json. You can then use this file as a back-up or you can import this data on another instance of Profile Builder.', 'profile-builder' ),
191 - 'icon' => 'pb_addon_small_importexport.png',
192 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/import-export-pb-settings/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
193 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/import-export/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro'
207 + 'type' => 'add-on',
208 + 'name' => __( 'Import and Export', 'profile-builder' ),
209 + 'description' => __( 'With the help of this add-on you will be able to export all Profile Builder Settings data to a .json. You can then use this file as a back-up or you can import this data on another instance of Profile Builder.', 'profile-builder' ),
210 + 'icon' => 'pb-add-on-import-export-logo.png',
211 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/add-ons/import-export-pb-settings/?utm_source=pb-addons-free&utm_medium=client-site&utm_campaign=pb-import-export-addon',
212 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/import-export/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree',
213 + 'version' => 'free',
194 214 ),
195 215 array( 'slug' => 'custom-css-classes-on-fields',
196 - 'type' => 'add-on',
197 - 'name' => __( 'Custom CSS Classes on Fields', 'profile-builder' ),
198 - 'description' => __( 'This add-on extends the functionality of Profile Builder by allowing you to add custom css classes for fields.', 'profile-builder' ),
199 - 'icon' => 'pb_addon_small_cssclasses.png',
200 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/custom-css-classes-on-fields-for-profile-builder/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
201 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/custom-css-classes-fields/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro'
216 + 'type' => 'add-on',
217 + 'name' => __( 'Custom CSS Classes on Fields', 'profile-builder' ),
218 + 'description' => __( 'This add-on extends the functionality of Profile Builder by allowing you to add custom css classes for fields.', 'profile-builder' ),
219 + 'icon' => 'pb-add-on-classes-on-fields-logo.png',
220 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/add-ons/custom-css-classes-on-fields-for-profile-builder/?utm_source=pb-addons-free&utm_medium=client-site&utm_campaign=pb-custom-css-addon',
221 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/custom-css-classes-fields/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree',
222 + 'version' => 'free',
202 223 ),
203 224 array( 'slug' => 'maximum-character-length',
204 - 'type' => 'add-on',
205 - 'name' => __( 'Maximum Character Length', 'profile-builder' ),
206 - 'description' => __( 'Using this addon you can limit the maximum number of characters a user can type in a field added and managed with Profile Builder.', 'profile-builder' ),
207 - 'icon' => 'pb_addon_small_maxcharlength.png',
208 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/maximum-character-length/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
209 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/maximum-character-length/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro'
225 + 'type' => 'add-on',
226 + 'name' => __( 'Maximum Character Length', 'profile-builder' ),
227 + 'description' => __( 'Using this addon you can limit the maximum number of characters a user can type in a field added and managed with Profile Builder.', 'profile-builder' ),
228 + 'icon' => 'pb-add-on-maximum-character-length-logo.png',
229 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/add-ons/maximum-character-length/?utm_source=pb-addons-free&utm_medium=client-site&utm_campaign=pb-max-character-length-addon',
230 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/maximum-character-length/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree',
231 + 'version' => 'free',
210 232 ),
211 - /*array( 'slug' => 'pd-add-on-multiple-admin-e-mails/index.php',
212 - 'type' => 'plugin',
213 - 'name' => __( 'Multiple Admin E-mails', 'profile-builder' ),
214 - 'description' => __( 'Extends the functionality of Profile Builder by allowing you to set multiple admin e-mail addresses that will receive e-mail notifications sent by Profile Builder.', 'profile-builder' ),
215 - 'icon' => 'pb_addon_small_multipleadminemails.png',
216 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/multiple-admin-e-mails/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
217 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/multiple-admin-e-mails/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro'
218 - ),*/
219 233 array( 'slug' => 'labels-edit',
220 - 'type' => 'add-on',
221 - 'name' => __( 'Labels Edit', 'profile-builder' ),
222 - 'description' => __( 'This add-on extends the functionality of our plugin and let us easily edit all Profile Builder labels.', 'profile-builder' ),
223 - 'icon' => 'pb_addon_small_labeledit.png',
224 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/labels-edit/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
225 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/labels-edit/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro'
234 + 'type' => 'add-on',
235 + 'name' => __( 'Labels Edit', 'profile-builder' ),
236 + 'description' => __( 'This add-on extends the functionality of our plugin and let us easily edit all Profile Builder labels.', 'profile-builder' ),
237 + 'icon' => 'pb-add-on-labels-edit-logo.png',
238 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/add-ons/labels-edit/?utm_source=pb-addons-free&utm_medium=client-site&utm_campaign=pb-labels-edit-addon',
239 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/labels-edit/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree',
240 + 'version' => 'free',
226 241 ),
227 - /*array( 'slug' => 'pb-add-on-placeholder-labels/pbpl.php',
228 - 'type' => 'plugin',
229 - 'name' => __( 'Placeholder Labels', 'profile-builder' ),
230 - 'description' => __( 'Extends the functionality of our plugin by replacing Labels with Placeholders in Profile Builder forms.', 'profile-builder' ),
231 - 'icon' => 'pb_addon_small_placeholder.png',
232 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/placeholder-labels/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
233 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/placeholder-labels/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro'
234 - ),*/
235 - /*array( 'slug' => 'pb-add-on-email-confirmation-field/index.php',
236 - 'type' => 'plugin',
237 - 'name' => __( 'Email Confirmation Field', 'profile-builder' ),
238 - 'description' => __( 'The Email Confirmation Field add-on is meant to check if the email address entered matches the first one, making sure a user submits a valid and correct email address.', 'profile-builder' ),
239 - 'icon' => 'pb_addon_small_emailconfirmation.png',
240 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/email-confirmation-field/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
241 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/email-confirmation-field/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro'
242 - ),*/
243 - /*array( 'slug' => 'pb-add-on-select2/index.php',
244 - 'type' => 'plugin',
245 - 'name' => __( 'Select2', 'profile-builder' ),
246 - 'description' => __( 'This add-on allows you to create select fields with search and filter functionality. All of this in a good looking, responsive select box.', 'profile-builder' ),
247 - 'icon' => 'pb_addon_small_select2.png',
248 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/select2/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
249 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/select2/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro'
250 - ),*/
251 242 array( 'slug' => 'gdpr-communication-preferences',
252 - 'type' => 'add-on',
253 - 'name' => __( 'GDPR Communication Preferences', 'profile-builder' ),
254 - 'description' => __( 'This add-on plugin adds a GDPR Communication preferences field to Profile Builder.', 'profile-builder' ),
255 - 'icon' => 'pb_addon_gdpr_small.png',
256 - 'doc_url' => 'https://www.cozmoslabs.com/add-ons/gdpr-communication-preferences/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
257 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/gdpr-communication-preferences/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro'
243 + 'type' => 'add-on',
244 + 'name' => __( 'GDPR Communication Preferences', 'profile-builder' ),
245 + 'description' => __( 'This add-on plugin adds a GDPR Communication preferences field to Profile Builder.', 'profile-builder' ),
246 + 'icon' => 'pb-add-on-gdpr-communication-preferences-logo.png',
247 + 'doc_url' => 'https://www.cozmoslabs.com/add-ons/gdpr-communication-preferences/?utm_source=pb-addons-free&utm_medium=client-site&utm_campaign=pb-gdpr-addon',
248 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/gdpr-communication-preferences/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree',
249 + 'version' => 'free',
258 250 ),
259 251 );
260 252 $pb_addons_listing->add_section();
261 253
@@ -265,46 +257,54 @@
265 257 $pb_addons_listing->section_header = array( 'title' => __('Recommended Plugins', 'profile-builder' ), 'description' => __('These plugins are compatible with all versions of Profile Builder', 'profile-builder') );
266 258 $pb_addons_listing->section_versions = array( 'Profile Builder Pro', 'Profile Builder Hobbyist', 'Profile Builder Free', 'Profile Builder Basic', 'Profile Builder Agency', 'Profile Builder Unlimited' );
267 259 $pb_addons_listing->items = array(
268 260 array( 'slug' => 'translatepress-multilingual/index.php',
269 - 'type' => 'plugin',
270 - 'name' => __( 'TranslatePress', 'profile-builder' ),
271 - 'description' => __( 'Translate your Profile Builder forms with a WordPress translation plugin that anyone can use. It offers a simpler way to translate WordPress sites, with full support for WooCommerce and site builders.', 'profile-builder' ),
272 - 'icon' => 'translatepress_logo.png',
273 - 'doc_url' => 'https://translatepress.com/docs/translatepress/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
274 - 'download_url' => 'https://wordpress.org/plugins/translatepress-multilingual/'
261 + 'type' => 'plugin',
262 + 'name' => __( 'TranslatePress', 'profile-builder' ),
263 + 'description' => __( 'Translate your Profile Builder forms with a WordPress translation plugin that anyone can use. It offers a simpler way to translate WordPress sites, with full support for WooCommerce and site builders.', 'profile-builder' ),
264 + 'icon' => 'pb-add-on-translatepress-logo.png',
265 + 'doc_url' => 'https://translatepress.com/docs/translatepress/?utm_source=pb-addons&utm_medium=client-site&utm_campaign=pb-tp-upsell',
266 + 'download_url' => 'https://wordpress.org/plugins/translatepress-multilingual/',
275 267 ),
276 268 array( 'slug' => 'paid-member-subscriptions/index.php',
277 - 'type' => 'plugin',
278 - 'name' => __( 'Paid Member Subscriptions', 'profile-builder' ),
279 - 'description' => __( 'Accept user payments, create subscription plans and restrict content on your membership site.', 'profile-builder' ),
280 - 'icon' => 'pms_logo.png',
281 - 'doc_url' => 'https://www.cozmoslabs.com/docs/paid-member-subscriptions/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
269 + 'type' => 'plugin',
270 + 'name' => __( 'Paid Member Subscriptions', 'profile-builder' ),
271 + 'description' => __( 'Unlock the Subscriptions Field in Profile Builder and offer paid memberships for your site. With Paid Member Subscriptions your registration forms will allow your users to sign up for paid accounts.', 'profile-builder' ),
272 + 'icon' => 'pb-add-on-pms-logo.png',
273 + 'doc_url' => 'https://www.cozmoslabs.com/docs/paid-member-subscriptions/?utm_source=pb-addons&utm_medium=client-site&utm_campaign=pb-pms-upsell',
282 274 'download_url' => 'https://wordpress.org/plugins/paid-member-subscriptions/'
283 275 ),
276 + array( 'slug' => 'wp-webhooks/wp-webhooks.php',
277 + 'type' => 'plugin',
278 + 'name' => __( 'WP Webhooks Automations', 'profile-builder' ),
279 + 'description' => __( 'Easily create powerful no-code automations that connect Profile Builder actions, like sign-ups or edits to a user\'s profile, to actions from other plugins, sites, and apps.', 'profile-builder' ),
280 + 'icon' => 'pb-add-on-wp-webhooks-icon.jpg',
281 + 'doc_url' => 'https://wp-webhooks.com/integrations/?utm_source=pb-addons&utm_medium=client-site&utm_campaign=pb-wpwh-upsell',
282 + 'download_url' => 'https://wordpress.org/plugins/wp-webhooks/'
283 + ),
284 284 array( 'slug' => 'client-portal/index.php',
285 - 'type' => 'plugin',
286 - 'name' => __( 'Client Portal', 'profile-builder' ),
287 - 'description' => __( 'Create private pages for your website users that only an administrator can edit.', 'profile-builder' ),
288 - 'icon' => 'pb_addon_client_portal.png',
289 - 'doc_url' => 'https://www.cozmoslabs.com/55726-how-to-wordpress-client-portal-plugin/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
290 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/client-portal/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro'
285 + 'type' => 'plugin',
286 + 'name' => __( 'Client Portal', 'profile-builder' ),
287 + 'description' => __( 'Create private pages for your website users that only an administrator can edit.', 'profile-builder' ),
288 + 'icon' => 'pb-add-on-client-portal-logo.png',
289 + 'doc_url' => 'https://www.cozmoslabs.com/add-ons/client-portal/?utm_source=pb-addons&utm_medium=client-site&utm_campaign=pb-client-portal-upsell',
290 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/client-portal/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree'
291 291 ),
292 292 array( 'slug' => 'custom-login-page-templates/custom-login-templates.php',
293 - 'type' => 'plugin',
294 - 'name' => __( 'Custom Login Page Templates', 'profile-builder' ),
295 - 'description' => __( 'Customizes the default WordPress Login Page with different templates, logo and background uploads and also adds support for custom CSS.', 'profile-builder' ),
296 - 'icon' => 'custom_login_page_templates_logo.png',
297 - 'doc_url' => 'https://www.cozmoslabs.com/add-ons/custom-login-page-templates/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
298 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/custom-login-page-templates/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro'
293 + 'type' => 'plugin',
294 + 'name' => __( 'Custom Login Page Templates', 'profile-builder' ),
295 + 'description' => __( 'Customizes the default WordPress Login Page with different templates, logo and background uploads and also adds support for custom CSS.', 'profile-builder' ),
296 + 'icon' => 'pb-add-on-custom-login-page-templates-logo.png',
297 + 'doc_url' => 'https://www.cozmoslabs.com/add-ons/custom-login-page-templates/?utm_source=pb-addons&utm_medium=client-site&utm_campaign=pb-login-templates-upsell',
298 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/custom-login-page-templates/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree'
299 299 ),
300 300 array( 'slug' => 'passwordless-login/passwordless_login.php',
301 - 'type' => 'plugin',
302 - 'name' => __( 'Passwordless Login', 'profile-builder' ),
303 - 'description' => __( 'WordPress Passwordless Login is a plugin that allows your users to login without a password.', 'profile-builder' ),
304 - 'icon' => 'pb_addon_small_passwordlesslogin.png',
305 - 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/passwordless-login/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro',
306 - 'download_url' => 'https://www.cozmoslabs.com/add-ons/passwordless-login/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBPro'
301 + 'type' => 'plugin',
302 + 'name' => __( 'Passwordless Login', 'profile-builder' ),
303 + 'description' => __( 'WordPress Passwordless Login is a plugin that allows your users to login without a password.', 'profile-builder' ),
304 + 'icon' => 'pb-add-on-passwordless-login-logo.png',
305 + 'doc_url' => 'https://www.cozmoslabs.com/docs/profile-builder/add-ons/passwordless-login/?utm_source=pb-addons&utm_medium=client-site&utm_campaign=pb-passwordless-upsell',
306 + 'download_url' => 'https://www.cozmoslabs.com/add-ons/passwordless-login/?utm_source=wpbackend&utm_medium=clientsite&utm_content=add-on-page&utm_campaign=PBFree'
307 307 ),
308 308 );
309 309 $pb_addons_listing->add_section();
310 310
@@ -322,8 +322,9 @@
322 322 $wppb_module_settings = get_option( 'wppb_module_settings', 'not_found' );
323 323 if ( $wppb_module_settings == 'not_found' ){
324 324 $wppb_module_settings = array( 'wppb_userListing' => 'hide',
325 325 'wppb_customRedirect' => 'hide',
326 + 'wppb_fileRestriction' => 'hide',
326 327 'wppb_emailCustomizer' => 'hide',
327 328 'wppb_multipleEditProfileForms' => 'hide',
328 329 'wppb_multipleRegistrationForms' => 'hide',
329 330 'wppb_repeaterFields' => 'hide'
@@ -383,16 +384,14 @@
383 384
384 385 //the free addons part
385 386 $wppb_free_add_ons_settings = get_option( 'wppb_free_add_ons_settings', array() );
386 387 if ( !empty( $wppb_free_add_ons_settings ) ){
387 - foreach( $wppb_free_add_ons_settings as $add_on_slug => $status ){
388 - if( $slug == $add_on_slug ){
389 - if( $action == 'show' )
390 - $wppb_free_add_ons_settings[$add_on_slug] = true;
391 - elseif( $action == 'hide' )
392 - $wppb_free_add_ons_settings[$add_on_slug] = false;
393 - }
394 - }
388 +
389 + if( $action == 'show' )
390 + $wppb_free_add_ons_settings[$slug] = true;
391 + elseif( $action == 'hide' )
392 + $wppb_free_add_ons_settings[$slug] = false;
393 +
395 394 }
396 395 update_option( 'wppb_free_add_ons_settings', $wppb_free_add_ons_settings );
397 396
398 397 //the advanced addons part
@@ -397,16 +396,14 @@
397 396
398 397 //the advanced addons part
399 398 $wppb_advanced_add_ons_settings = get_option( 'wppb_advanced_add_ons_settings', array() );
400 399 if ( !empty( $wppb_advanced_add_ons_settings ) ){
401 - foreach( $wppb_advanced_add_ons_settings as $add_on_slug => $status ){
402 - if( $slug == $add_on_slug ){
403 - if( $action == 'show' )
404 - $wppb_advanced_add_ons_settings[$add_on_slug] = true;
405 - elseif( $action == 'hide' )
406 - $wppb_advanced_add_ons_settings[$add_on_slug] = false;
407 - }
408 - }
400 +
401 + if( $action == 'show' )
402 + $wppb_advanced_add_ons_settings[$slug] = true;
403 + elseif( $action == 'hide' )
404 + $wppb_advanced_add_ons_settings[$slug] = false;
405 +
409 406 }
410 407 update_option( 'wppb_advanced_add_ons_settings', $wppb_advanced_add_ons_settings );
411 408 }
412 409
@@ -412,11 +409,14 @@
412 409
413 410 /**
414 411 * Add a notice on the add-ons page if the save was successful
415 412 */
416 -if ( isset($_GET['cl_add_ons_listing_success']) ){
417 - if( class_exists('WPPB_Add_General_Notices') ) {
418 - new WPPB_Add_General_Notices('cl_add_ons_listing_success',
419 - sprintf(__('%1$sAdd-ons settings saved successfully%2$s', 'profile-builder'), "<p>", "</p>"),
420 - 'updated notice is-dismissible');
413 +add_action('init', function()
414 +{
415 + if ( isset($_GET['cl_add_ons_listing_success']) ){
416 + if( class_exists('WPPB_Add_General_Notices') ) {
417 + new WPPB_Add_General_Notices('cl_add_ons_listing_success',
418 + sprintf(__('%1$sAdd-ons settings saved successfully%2$s', 'profile-builder'), "<p>", "</p>"),
419 + 'updated notice is-dismissible');
420 + }
421 421 }
422 -}
422 +});