Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Plugin custom pages

@yutt

Member

Okay, I ended up going a totally different route with this, I don’t know that it will work for everyone or if it is “proper”, but it works for me.

my-plugin.php now has:

include_once('my-plugin-core.php');
include_once('../../bb-load.php');

From there I check if the user is authenticated as an admin with:

bb_ssl_redirect();
bb_auth();

After that I just call ‘my-function();’

I will use mod_rewrite to make the URL less ridiculous.

Skip to toolbar