Support » Plugins and Hacks » Difference between my_footer($args) and do_action(my_footer,$args)

  • 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.

  • The topic ‘Difference between my_footer($args) and do_action(my_footer,$args)’ is closed to new replies.