Skip to content

Instantly share code, notes, and snippets.

View cybersholt's full-sized avatar
🏠
Working from home

Sean cybersholt

🏠
Working from home
View GitHub Profile
@cybersholt
cybersholt / functions.php
Created April 18, 2017 22:23
Clear wp cache on save or update
<?php
function clear_cache_c() {
wp_cache_clear_cache();
}
add_action( 'publish_post', 'clear_cache_c', 10, 2 );
add_action( 'post_updated', 'clear_cache_c', 10, 3 );
?>
"a",
"able",
"about",
"above",
"abroad",
"according",
"accordingly",
"across",
"actually",
"adj",