Calling a php function which is in its own file.
Need some help regarding buddypress. I have some custom code which is inside buddypress pages via a plugin “PHP Execution”. Everything is working fine but I need to make my code modular (call functions that are in their own file. So my question is where do I put all my .php so I can reference to them from the buddypress page. By searching google got to bp-custom.php is that the only file I can have to insert custom code. And if I insert code in taht file do I just reference the function name or have to reference the file ?
- The topic ‘Calling a php function which is in its own file.’ is closed to new replies.