I have two systems in my websites: Wordpress and myBB forum. I want to connect them, everyone who register in wordpress (my main site) will be registered in myBB.
I started to write plugin that will be bridge. and i have the global file of myBB, when I include this file i see this error:
Fatal error: Cannot redeclare get_attachment_icon() ...
Now, how can I include the file but keep the functions seperate? can I include the functions into namespace or variable?
Thanks for help!