id, array('dashboard', 'themes'))) { return; } // Define banner image path $bg_image = get_template_directory_uri() . '/assets/img/dashboard/PIXEL-banner-dashboard.jpg'; // Plugin file path to check installation/activation $target_plugin_file = 'pixel-starter-templates/pixel-starter-templates.php'; // Include plugin functions if not already loaded if (!function_exists('is_plugin_active')) { include_once ABSPATH . 'wp-admin/includes/plugin.php'; } // Check if plugin is installed $installed = file_exists(WP_PLUGIN_DIR . '/' . $target_plugin_file); // If plugin is installed and active, remove notice if ($installed && is_plugin_active($target_plugin_file)) { delete_transient('px_theme_show_welcome_notice'); return; } // Create security nonce for AJAX $nonce = wp_create_nonce('px_plugin_nonce'); ?>
  • We know what it's like to need support. This is the reason why our customers are the top priority and we treat every issue with the utmost seriousness. The team is working hard to help every customer, keep documentation updated, produce tutorials, and improve usability.

'Insufficient permissions.' ) ); } // Delete transient to hide notice permanently delete_transient('px_theme_show_welcome_notice'); // Return success response wp_send_json_success(); }