How PHP Handles Duplicate Function Names?

Home Forums Tech Web Development How PHP Handles Duplicate Function Names?

This topic contains 0 replies, has 1 voice, and was last updated by  Udar Gromov 13 years, 1 month ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2282

    Udar Gromov
    Keymaster

    If the same function is defined in WordPress and bbPress, what will happened, if I try to call the function? How to resolve, which function to call?

    Currently, when I call WP function wp_head() from bbPress header, it doesn’t return anything. This function has multiple actions added in default-filters.php.

    I discovered that the same actions for this function is also defined in bbpressbb-includesbackpress .

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.