'; echo '❌ Error: Transient Cache class not found.'; echo '
'; return; } $cache_count = Metasync_Otto_Transient_Cache::get_cache_count(); ?>Clear all cache plugins to ensure changes are visible immediately.
get_active_cache_plugins(); if (!empty($active_cache_plugins)) { echo 'Active Cache Plugins Detected:
'; echo 'ℹ️ No cache plugins detected.
'; } } catch (Exception $e) { error_log('MetaSync Cache Status Error: ' . $e->getMessage()); echo '⚠️ An error occurred while retrieving cache plugin status.
'; } } else { echo '⚠️ Cache Purge class not loaded.
'; } ?> 0) { echo ''; echo '✅ Success! Cleared cache for ' . intval( $cleared ) . ' plugin(s)'; if ($plugins) { echo ': ' . esc_html($plugins); } echo '
'; echo 'ℹ️ No cache plugins found to clear. WordPress object cache was cleared.'; echo '
'; echo '⚠️ Failed to clear ' . intval( $failed ) . ' plugin(s).'; echo '
'; echo '❌ Error clearing cache: ' . esc_html($message); echo '
Use your hosting provider's native API to purge the entire site cache in one click. These options are independent of cache plugins and target the server-level cache layer.
'; echo '✅ Success! Purged hosting cache on: ' . esc_html($hc_cleared); echo '
'; echo '❌ Failed to purge: ' . esc_html($hc_failed); echo '
'; echo 'ℹ️ No enabled hosting providers were detected on this server (' . esc_html($hc_not_detected) . ').'; echo '
Manage suggestions cache. Clearing cache will force fresh API calls on next page load.
';
if (!empty($url)) {
echo '✅ Success! Cleared cache for URL: ' . esc_html($url) . ' (' . intval( $cleared_count ) . ' entries)';
} else {
echo '✅ Success! Cleared entire transient cache (' . intval( $cleared_count ) . ' entries)';
}
echo '
'; echo '❌ Error: ' . esc_html($message); echo '
This will clear all transient cache entries (suggestions, locks, stale cache, rate limits).
Enter a specific URL to clear its cached suggestions. Use the full URL including protocol (e.g., https://example.com/page/).