Skip to:
Content
Pages
Categories
Search
Top
Bottom

wrapping buddypress functions in functions.php


  • fullmoonfriday
    Participant

    @fullmoonfriday

    Hello,

    I have been struggling with this one for a while. It causes my site to crash as soon as buddypress is changed or deactivated. I believe it is functions added in functions.php are not wrapped with some thign like this


    if(function_exists(‘buddypress’)):
    //use buddypress function
    endif;

    I am just starting to understand a function, but not quite there yet.
    I need to know which function, and if this is correct. The site going down as soon as buddypress is deactivated or changed really upsets me and is difficult to actually know what part of my functions.php file is incorrect.

    Thanks in advance

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘wrapping buddypress functions in functions.php’ is closed to new replies.
Skip to toolbar