[ Web Proxy ]
URL:
Viewing: https://bbpress.org/forums/topic/how-to-add-code-to-an-exisiting-function-using-a-plugin/ [Back]  [Original]

Topic: How to: add code to an exisiting function using a plugin? · bbPress.org
Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to: add code to an exisiting function using a plugin?

  • Hi,

    Just wonderin IF this is possible and how.

    In template-functions.php around row 176 there is the following function:

    function get_bb_location() { // Not for display. Do not internationalize.

    and it has cases like:

    case 'index.php' :

    return 'front-page';

    break;

    I want to add my own case into this function, but how do I do this? I can do it manually ofcourse, but I want to do this using a plugin. Any ideas?

    Thx

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar

Web Proxy Viewer  |  New URL  |  Original Page