comment_closed seems to not trigger function
-
Hello
After creating this code:function a(){ return "test"; } add_action('comment_closed', 'a');
and creating post with comments disabled I would like to see “test”, but everything works like this function didn’t exist.
Even after putting other things inside function a() it is never run.
Any ideas how to solve it?
- The topic ‘comment_closed seems to not trigger function’ is closed to new replies.