I'm educating myself on writing a plugin and I don't seem to understand the difference between directly calling a function, like:
my_footer($arg1,$arg2)
and using do_action:
do_action('my_footer',$arg1,$arg2)
Hope someone can enlighten me.
I'm educating myself on writing a plugin and I don't seem to understand the difference between directly calling a function, like:
my_footer($arg1,$arg2)
and using do_action:
do_action('my_footer',$arg1,$arg2)
Hope someone can enlighten me.
This topic has been closed to new replies.