Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Calling an file in a higher directory from plugin

Why not run an absolute path?

require_once(/var/www/html/mysite_function.php);

Does that work?

If it is root bbPress folder, you could use what is in config.php

require_once( BBPATH . 'mysite_function.php' );

Should be pretty easy……?

Trent

Skip to toolbar