diff --git a/admin/settings.php b/admin/settings.php index 1b55fad..9bc94e6 100644 --- a/admin/settings.php +++ b/admin/settings.php @@ -45,6 +45,7 @@ function wp_allstars_get_recommended_plugins() { ), 'admin' => array( 'admin-bar-dashboard-control', + 'codepress-admin-columns', 'admin-menu-editor', 'hide-admin-notices', 'mainwp-child', @@ -54,7 +55,9 @@ function wp_allstars_get_recommended_plugins() { 'plugin-groups', 'plugin-toggle' ), - 'ai' => array(), + 'ai' => array( + 'ai-engine', + ), 'cms' => array( 'auto-post-scheduler', 'block-options', @@ -152,7 +155,6 @@ function wp_allstars_get_recommended_plugins() { 'advanced' => array( 'acf-better-search', 'advanced-custom-fields', - 'ai-engine', 'code-snippets', 'favorites', 'remove-cpt-base', @@ -226,6 +228,25 @@ function wp_allstars_ajax_get_plugins() { 'per_page' => count($cached_data->plugins), )); + add_filter('plugin_install_action_links', function($action_links, $plugin) { + // Get pro plugins configuration + $pro_plugins = wp_allstars_get_pro_plugins_config(); + + // Check if this plugin has a pro version + foreach ($pro_plugins as $pro_plugin) { + if (isset($pro_plugin['free_slug']) && $pro_plugin['free_slug'] === $plugin['slug']) { + $action_links[] = sprintf( + '%s', + esc_url($pro_plugin['url']), + esc_html__('Go Pro', 'wp-allstars') + ); + break; + } + } + + return $action_links; + }, 10, 2); + ob_start(); $wp_list_table->display(); $html = ob_get_clean(); @@ -314,6 +335,25 @@ function wp_allstars_ajax_get_plugins() { 'per_page' => count($plugins), )); + add_filter('plugin_install_action_links', function($action_links, $plugin) { + // Get pro plugins configuration + $pro_plugins = wp_allstars_get_pro_plugins_config(); + + // Check if this plugin has a pro version + foreach ($pro_plugins as $pro_plugin) { + if (isset($pro_plugin['free_slug']) && $pro_plugin['free_slug'] === $plugin['slug']) { + $action_links[] = sprintf( + '%s', + esc_url($pro_plugin['url']), + esc_html__('Go Pro', 'wp-allstars') + ); + break; + } + } + + return $action_links; + }, 10, 2); + ob_start(); $wp_list_table->display(); $html = ob_get_clean(); @@ -1023,13 +1063,18 @@ function wp_allstars_settings_page() { -
-

Admin Columns Pro

-

Advanced admin columns management with sorting, filtering, and editing capabilities.

- Learn More -
- -
-

Admin Menu Editor Pro

-

Customize the WordPress admin menu with advanced features and role management.

- Learn More -
- -
-

Advanced Custom Fields PRO

-

Create custom fields and content types with advanced features and options.

- Learn More -
- -
-

Advanced Database Cleaner PRO

-

Clean and optimize your WordPress database with advanced tools and automation.

- Learn More -
- -
-

AI Engine (Pro)

-

Enhanced AI capabilities for content generation, analysis, and automation.

- Learn More -
- -
-

Code Profiler Pro

-

Advanced performance monitoring and debugging tools for WordPress.

- Learn More -
- -
-

Code Snippets Pro

-

Add and manage custom code snippets with advanced features and management tools.

- Learn More -
- -
-

Comment Goblin

-

Advanced comment management and spam protection system.

- Learn More -
- -
-

Complianz Privacy Suite

-

Complete GDPR/CCPA compliance solution with advanced features.

- Learn More -
- -
-

Disable Bloat PRO

-

Advanced optimization for WordPress & WooCommerce with premium features.

- Learn More -
- -
-

Fluent Suite Pro

-

Premium extensions for Fluent Forms, CRM, Support, and Booking.

-
- Fluent Boards Pro - Fluent Forms Pro - Signature Addon - FluentCRM Pro - Fluent Support Pro - FluentBooking Pro + $plugin) { + // Skip WP Ultimo + if ($key === 'wp-ultimo') continue; + ?> +
+

+

+ +
+ + + + + +
+ + Learn More +
-
- -
-

Freesoul Deactivate Plugins PRO

-

Advanced plugin management with conditional loading and optimization.

- Learn More -
- -
-

Kadence Suite

-

Premium Kadence products for enhanced design and functionality.

- -
- -
-

Link Whisper

-

AI-powered internal linking suggestions and management.

- Learn More -
- -
-

Media File Renamer Pro

-

AI-Powered media file renaming for better SEO.

- Learn More -
- -
-

Ninja Tables Pro

-

Advanced table creation and management with premium features.

- Learn More -
- -
-

Rank Math SEO PRO

-

Advanced SEO tools and features for better search engine optimization.

- Learn More -
- -
-

Really Simple SSL Pro

-

Advanced SSL management and security features.

- Learn More -
- -
-

Scalability Pro

-

Advanced performance optimization and scaling tools.

- Learn More -
- -
-

Social Engine Pro

-

Advanced social media scheduling and management.

- Learn More -
- -
-

TaxoPress Pro

-

Advanced taxonomy and tag management tools.

- Learn More -
- -
-

Tutor LMS Pro Suite

-

Premium LMS features including certificate builder.

- -
- -
-

WP Migrate

-

Professional WordPress migration and backup solution.

- Learn More -
- -
-

WP Social Ninja Pro

-

Advanced social media integration and management tools.

- Learn More -
- -
-

WP Ultimo

-

Complete solution for creating WordPress multisite networks.

- Learn More -
- -
-

YellowPencil Pro

-

Advanced visual CSS style editor and customization tool.

- Learn More -
+