We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cda03be commit 7c7e65fCopy full SHA for 7c7e65f
Theme.php
@@ -9,6 +9,9 @@ class Theme{
9
public $footer='';
10
11
public function touchAfterPostUpdated($file = 'functions.php'){
12
+ if(!is_admin())
13
+ return $this;
14
+
15
$file = get_stylesheet_directory() . '/' . $file;
16
17
add_action( 'post_updated', function() use($file){
0 commit comments