Tagged Questions
0
votes
1answer
62 views
wp-load.php redeclares classes
I am trying to load WordPress options within a standalone PHP file. The file is located in /wp-content/plugins/plugin-name/file.php. I have used the following to open wp-load.php:
if ...
0
votes
1answer
34 views
Get Core Functionality from Within a (Secondary) Plugin File
I have a plugin with the following structure:
myplugin.php
includes/authentication.php
I can access core WordPress functionality inside myplugin.php fine, but when I try to access stuff such as ...
1
vote
1answer
271 views
Access bloginfo, get_option, and plugins_url from a non-core php file
I am creating a plugin that has a php file in the plugin directory which is accessed directly via a custom rewrite url.
I need this file to be able to use the three functions mentioned in the title.
...
