WordPress.org

Ready to get started?Download WordPress

Forums

Difference between my_footer($args) and do_action(my_footer,$args) (1 post)

  1. zudie
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic