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

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.