PluginProbe ʕ •ᴥ•ʔ
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel / 1.4.13
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel v1.4.13
trunk 0.9.0 0.9.1 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0 1.2.1 1.2.10 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.14 1.4.15 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0
wp-all-export / controllers / admin / partners.php
wp-all-export / controllers / admin Last commit date
export.php 2 years ago feedback.php 10 years ago help.php 12 years ago manage.php 4 years ago partners.php 8 months ago settings.php 4 years ago
partners.php
174 lines
1 <?php
2 /**
3 * Partner Discounts page
4 *
5 * Handles the display and management of partner discount offers
6 * within the admin interface.
7 *
8 * @author Prabch <prabch.soflyy@gmail.com>
9 */
10
11 // Load the Partner Discount SDK for rendering discount UI components
12 require_once plugin_dir_path(__FILE__) . '../../classes/partner-discount-sdk/partner-discount-sdk.php';
13
14 class PMXE_Admin_Partners extends PMXE_Controller_Admin {
15
16 public function init() {
17 parent::init();
18 }
19
20 /**
21 * Display the partner discounts page
22 *
23 * Renders the main partner discounts interface showing all available
24 * partner offers with discount codes and promotional information.
25 *
26 * @return void
27 */
28 public function index() {
29 echo '<div class="wrap">';
30 echo render_partner_discount_ui($this->get_partners(), [], $this->get_filters());
31 echo '</div>';
32 }
33
34 /**
35 * Get filter categories
36 *
37 * Returns an array of predefined filter categories used to
38 * group partners.
39 * Each filter contains a display name and a corresponding slug identifier.
40 *
41 * @return array Array of filter data with the following structure:
42 * - name: Display name of the filter category
43 * - slug: URL-friendly identifier for the filter
44 */
45 private function get_filters() {
46 return [
47 [
48 'name' => 'Analytics',
49 'slug' => 'analytics'
50 ],
51 [
52 'name' => 'Builders',
53 'slug' => 'builder'
54 ],
55 [
56 'name' => 'Dev Tools',
57 'slug' => 'dev-tools'
58 ],
59 [
60 'name' => 'Marketing & Growth',
61 'slug' => 'marketing-and-growth'
62 ]
63 ];
64 }
65
66 /**
67 * Get partner discount data
68 *
69 * Returns an array of partner discount information including
70 * company details, discount codes, promotional links, and branding.
71 *
72 * @return array Array of partner discount data with the following structure:
73 * - name: Partner company name
74 * - desc: Description of the partner's product/service
75 * - code: Discount/coupon code
76 * - discount: Percentage or amount of discount
77 * - link: Promotional/checkout URL
78 * - image: Partner logo/brand image URL
79 */
80 private function get_partners() {
81 return [
82 [
83 'name' => 'AnalyticsWP',
84 'desc' => 'This privacy-compliant WordPress analytics plugin gives detailed insights into user behavior beyond what traditional tools can provide, and has a dedicated integration for WooCommerce.',
85 'code' => 'wpallimport2024',
86 'discount' => '20%',
87 'link' => 'https://analyticswp.com/pricing/?wt_coupon=wpallimport2024',
88 'image' => 'https://www.wpallimport.com/wp-content/uploads/2025/05/analyticswp-logo.svg',
89 'category' => 'analytics',
90 ],
91 [
92 'name' => 'WPCodeBox',
93 'desc' => 'Save code from inside Breakdance to WPCodebox in one click. Use cloud snippets to share across your sites and explore the Code Snippet Repository full of tested snippets.',
94 'code' => 'KMWOV0WBKJ',
95 'discount' => '20%',
96 'link' => 'https://wpcodebox.com/',
97 'image' => 'https://www.wpallimport.com/wp-content/uploads/2024/08/WPCodeBox-Logo-Small-Dark.png',
98 'category' => 'dev-tools',
99 ],
100 [
101 'name' => 'Solid Affiliate',
102 'desc' => 'The all-in-one affiliate solution for high-performing WooCommerce stores. Trusted by 10,000+ store owners, it’s the professional way to scale referrals and rankings, all from your WordPress dashboard.',
103 'code' => 'BREAKDANCEPARTNER',
104 'discount' => '15%',
105 'link' => 'https://solidaffiliate.com/pricing?_gl=1*1v5voof*_gcl_au*OTM3MDQ1Mjk3LjE3NTU3NzI2MTYuMTc2ODM2MDE2LjE3NjExMzI3MjguMTc2MTEzMjcyNw..',
106 'image' => 'https://www.wpallimport.com/wp-content/uploads/2025/08/solid-affiliate.webp',
107 'category' => 'marketing-and-growth',
108 ],
109 [
110 'name' => 'WP Debug Toolkit',
111 'desc' => 'The best WordPress error log viewer for WordPress. Easily centralize, filter, and understand your WordPress errors without touching FTP or SSH.',
112 'code' => 'BD20',
113 'discount' => '20%',
114 'link' => 'https://wpdebugtoolkit.com/',
115 'image' => 'https://www.wpallimport.com/wp-content/uploads/2025/10/wpdebugtoolkit.jpg',
116 'category' => 'dev-tools',
117 ],
118 [
119 'name' => 'Breakdance',
120 'desc' => 'Created by the same team behind WP All Import, Breakdance is a modern visual site builder for WordPress that combines professional power with drag & drop ease of use.',
121 'code' => 'WPAI',
122 'discount' => '35%',
123 'link' => 'https://breakdance.com/checkout?edd_action=add_to_cart&discount=WPAI&download_id=14&edd_options%5Bprice_id%5D=1',
124 'image' => 'https://www.wpallimport.com/wp-content/uploads/2024/08/cropped-favicon.png',
125 'category' => 'builder',
126 ],
127 [
128 'name' => 'Oxygen',
129 'desc' => 'Created by the same team behind WP All Import, Oxygen is the go-to WordPress website builder for highly advanced users & developers who love to code.',
130 'code' => 'WPAI20',
131 'discount' => '20%',
132 'link' => 'https://oxygenbuilder.com/checkout/?edd_action=add_to_cart&download_id=4790638&discount=WPAI20',
133 'image' => 'https://www.wpallimport.com/wp-content/uploads/2025/01/logo-minimal-black.png',
134 'category' => 'builder',
135 ],
136 [
137 'name' => 'Meta Box',
138 'desc' => 'Meta Box is a WordPress custom fields plugin for flexible content management using custom post types and custom fields.',
139 'code' => 'BREAKDANCE20',
140 'discount' => '20%',
141 'link' => 'https://metabox.io/pricing/',
142 'image' => 'https://www.wpallimport.com/wp-content/uploads/2025/03/metabox-logo-square.png',
143 'category' => 'dev-tools',
144 ],
145 [
146 'name' => 'Elevated Discount Rules',
147 'desc' => 'Create flexible and powerful discount rules for your WooCommerce Store. Boost your sales with bulk or store wide discounts.',
148 'code' => 'All Extensions for Life for $199',
149 'discount' => 'Special Launch Price',
150 'link' => 'https://elevatedextensions.com/extensions/elevated-discount-rules/',
151 'image' => 'https://www.wpallimport.com/wp-content/uploads/2025/10/elex_discount_i.svg',
152 'category' => 'marketing-and-growth',
153 ],
154 [
155 'name' => 'Elevated Instagram Feed',
156 'desc' => 'Blow your visitors away showing a lightweight, fully customizable Instagram feed on any part of your site without any technical knowledge.',
157 'code' => 'All Extensions for Life for $199',
158 'discount' => 'Special Launch Price',
159 'link' => 'https://elevatedextensions.com/extensions/elevated-instagram-feed/',
160 'image' => 'https://www.wpallimport.com/wp-content/uploads/2025/10/elex_instagram_i.svg',
161 'category' => 'marketing-and-growth',
162 ],
163 [
164 'name' => 'Elevated AJAX Search',
165 'desc' => 'Blazing fast, high-performing WooCommerce live search for your store. A powerful search engine that shows instant results and offers your customers a great shopping experience.',
166 'code' => 'All Extensions for Life for $199',
167 'discount' => 'Special Launch Price',
168 'link' => 'https://elevatedextensions.com/extensions/elevated-ajax-search/',
169 'image' => 'https://www.wpallimport.com/wp-content/uploads/2025/10/elex_search_i.svg',
170 'category' => 'marketing-and-growth',
171 ],
172 ];
173 }
174 }