'; echo '

'; echo esc_html__( 'Affiliates Extensions and Add-Ons', 'affiliates' ); echo '

'; echo '

'; echo esc_html__( 'Get additional features and access to premium support!', 'affiliates' ); echo '

'; echo '

'; printf( __( 'Please also refer to the available Integrations.', 'affiliates' ), esc_url( add_query_arg( 'section', 'integrations', admin_url( 'admin.php?page=affiliates-admin-settings' ) ) ) ); echo '

'; echo '

'; echo esc_html__( 'Recommended plugins and extensions', 'affiliates' ); echo '

'; $entries = array( 'affiliates-pro' => array( 'title' => 'Affiliates Pro', 'content' => 'Affiliates Pro is a powerful affiliate marketing and management system for sellers, shops and developers, who want to increase sales and foster growth with their own affiliate program.', 'image' => AFFILIATES_PLUGIN_URL . 'images/add-ons/affiliates-pro.png', 'url' => 'http://www.itthinx.com/shop/affiliates-pro/', 'index' => 10 ), 'affiliates-enterprise' => array( 'title' => 'Affiliates Enterprise', 'content' => 'Affiliates Enterprise is a powerful affiliate marketing and management system for active marketers, sellers, shops and developers. This growth-oriented business solution features affiliate campaigns, mulitple tiers and pixel tracking, in addition to all the powerful features included in Affiliates Pro.', 'image' => AFFILIATES_PLUGIN_URL . 'images/add-ons/affiliates-enterprise.png', 'url' => 'http://www.itthinx.com/shop/affiliates-enterprise/', 'index' => 10 ), 'affiliates-import' => array( 'title' => 'Affiliates Import FREE', 'content' => 'This extension allows to import affiliate accounts from a text file into the affiliate system.', 'image' => AFFILIATES_PLUGIN_URL . 'images/add-ons/affiliates-import.png', 'url' => 'https://wordpress.org/plugins/affiliates-import/', 'index' => 20 ), 'affiliates-buddypress' => array( 'title' => 'Affiliates BuddyPress FREE', 'content' => 'This integration with BuddyPress helps to display affiliate content in the BuddyPress user profile.', 'image' => AFFILIATES_PLUGIN_URL . 'images/add-ons/affiliates-buddypress.png', 'url' => 'https://wordpress.org/plugins/affiliates-buddypress/', 'index' => 20 ), 'affiliates-captcha' => array( 'title' => 'Affiliates Captcha FREE', 'content' => 'Activate this extension and the Captcha will appear on the affiliate registration form when the Captcha plugin is activated.', 'image' => AFFILIATES_PLUGIN_URL . 'images/add-ons/affiliates-captcha.png', 'url' => 'https://wordpress.org/plugins/affiliates-captcha/', 'index' => 20 ), 'affiliates-recaptcha' => array( 'title' => 'Affiliates reCAPTCHA FREE', 'content' => 'This extension integrates with Google\'s reCAPTCHA service for the affiliate registration form.', 'image' => AFFILIATES_PLUGIN_URL . 'images/add-ons/affiliates-recaptcha.png', 'url' => 'https://wordpress.org/plugins/affiliates-recaptcha/', 'index' => 20 ), 'affiliates-by-username' => array( 'title' => 'Affiliates by Username', 'content' => 'This extension allows affiliate links to indicate usernames in addition to the affiliate IDs used normally.', 'image' => AFFILIATES_PLUGIN_URL . 'images/add-ons/affiliates-by-username.png', 'url' => 'http://www.itthinx.com/shop/affiliates-by-username/', 'index' => 20 ), 'affiliates-coupons' => array( 'title' => 'Affiliates Coupons', 'content' => 'This extension requires Affiliates Pro or Affiliates Enterprise and WooCommerce. It allows to create coupons for affiliates automatically and in bulk.', 'image' => AFFILIATES_PLUGIN_URL . 'images/add-ons/affiliates-coupons.png', 'url' => 'http://www.itthinx.com/shop/affiliates-coupons/', 'index' => 100 ), 'affiliates-ms' => array( 'title' => 'Affiliates MS', 'content' => 'Affiliates MS is a solution to maintain a centralized affiliate program for a WordPress Network of sites.', 'image' => AFFILIATES_PLUGIN_URL . 'images/add-ons/affiliates-ms.png', 'url' => 'http://www.itthinx.com/shop/affiliates-ms/', 'index' => 100 ), 'affiliates-permanent' => array( 'title' => 'Affiliates Permanent', 'content' => 'New customers (or new users) are assigned to the referring affiliate. The affiliate will be credited with a referral on every purchase made by the customer from thereon. Assignments can be changed manually in user profiles.', 'image' => AFFILIATES_PLUGIN_URL . 'images/add-ons/affiliates-permanent.png', 'url' => 'http://www.itthinx.com/shop/affiliates-permanent/', 'index' => 100 ), 'affiliates-products' => array( 'title' => 'Affiliates Products', 'content' => 'This extension requires WooCommerce and provides product commissions for distribution and vendors. It automatically grants commissions on product sales to assigned partners or affiliates. It is suitable to share revenue on every sale of one or more products.', 'image' => AFFILIATES_PLUGIN_URL . 'images/add-ons/affiliates-products.png', 'url' => 'http://www.itthinx.com/shop/affiliates-products/', 'index' => 100 ), 'affiliates-users' => array( 'title' => 'Affiliates Users', 'content' => 'This extension automatically creates affiliate accounts for new users. It also allows to create affiliate accounts for all existing users.', 'image' => AFFILIATES_PLUGIN_URL . 'images/add-ons/affiliates-users.png', 'url' => 'http://www.itthinx.com/shop/affiliates-users/', 'index' => 20 ), ); uasort( $entries, 'affiliates_admin_add_ons_sort' ); echo ''; // .add-ons if ( AFFILIATES_PLUGIN_NAME == 'affiliates' ) { echo '

'; echo esc_html__( 'Affiliates Pro', 'affiliates' ); echo '

'; echo ''; } if ( ( AFFILIATES_PLUGIN_NAME == 'affiliates' ) || ( AFFILIATES_PLUGIN_NAME == 'affiliates-pro' ) ) { echo '

'; echo esc_html__( 'Affiliates Enterprise', 'affiliates' ); echo '

'; echo ''; } echo '

'; echo esc_html__( 'Add-Ons', 'affiliates' ); echo '

'; echo '

'; echo __( 'Free and premium extensions are listed on the Overview page and in the Shop.', 'affiliates' ); echo '

'; echo ''; affiliates_footer(); } /** * Custom sorting function. * * @param array $e1 first element * @param array $e2 second element * * @return int */ function affiliates_admin_add_ons_sort( $e1, $e2 ) { $i1 = isset( $e1['index'] ) ? $e1['index'] : 0; $i2 = isset( $e2['index'] ) ? $e2['index'] : 0; $t1 = isset( $e1['title'] ) ? $e1['title'] : ''; $t2 = isset( $e2['title'] ) ? $e2['title'] : ''; return $i1 - $i2 + strnatcmp( $t1, $t2 ); }