Skip to content

Commit 9807001

Browse files
committed
Flush all caches when running Pods Cache Flush
1 parent 0682683 commit 9807001

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

ui/admin/settings-settings.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,13 @@
3838
// Handle clearing cache.
3939
$api = pods_api();
4040

41-
$api->cache_flush_pods();
41+
$api->cache_flush_pods(
42+
null,
43+
true,
44+
true,
45+
false,
46+
true
47+
);
4248

4349
if ( defined( 'PODS_PRELOAD_CONFIG_AFTER_FLUSH' ) && PODS_PRELOAD_CONFIG_AFTER_FLUSH ) {
4450
$api->load_pods( array( 'bypass_cache' => true ) );

0 commit comments

Comments
 (0)