Skip to content
Snippets Groups Projects
Commit 43baab81 authored by lucha's avatar lucha
Browse files

forgot to return value

parent d6fdf4c0
Branches
Tags
No related merge requests found
......@@ -24,6 +24,8 @@ function override_close_comments_days_old($value, $option){
# return $default_options['close_comments_days_old'];
# or even set the option once and for all
} else {
return $days_old;
}
}
add_filter( 'option_close_comments_days_old', override_close_comments_days_old, 10, 2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment