Permalink
Browse files

Add filter for model cache key

  • Loading branch information...
Nomafin committed Jun 5, 2017
1 parent 1f1696b commit ee7ab3ce9598bf2e626e544929d8ef33ef457e4e
Showing with 2 additions and 0 deletions.
  1. +2 −0 classes/model.php
View
@@ -692,6 +692,8 @@ private function generate_cache_key() {
$seed .= serialize( $arg );
}
$seed = apply_filters( 'dustpress/cache/seed', $seed );
return sha1( $seed );
}

0 comments on commit ee7ab3c

Please sign in to comment.