Bootstrap file for setting the `ABSPATH` constant and loading the `wp-config.php` file. The `wp-config.php` file will then load the `wp-settings.php` file, which will then set up the WordPress environment.

learn more… | top users | synonyms

0
votes
2answers
82 views

Retrieve data from multiple Wordpress sites using PHP script

I want to run a PHP script that iterates over WordPress sites found in a certain folder and read the plugins info per each site using get_plugin function In the code below, I try to require API ...
0
votes
1answer
108 views

Manually cache a special, non-WP-but-using-WP page (e.g. Ajax results) with W3TC

Under the active theme folder, I have a search-autocomplete.php file which uses various WP queries to create smart JSON results delivered via AJAX to a jQuery UI Autocomplete input field. It's not a ...
0
votes
1answer
110 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
0answers
144 views

Wordpress server change - slow admin login time for first time

I have a large Wordpress site. On local system we create a git repo for deploy a local version of Wordpress to DigitalOcean VPS servers. All Works great, but here is a problem to update a sql ...
0
votes
0answers
28 views

WordPress Outside of WordPress Not Executing

When visiting hello.php in the browser, it works just fine; however, when executed via command line, php5 /var/project1/hello.php, nothing happens. hello.php contains only the following code: ...
0
votes
0answers
25 views

Using WordPress User Details outside Directory

I have a PHP Web App in which I want to use some User Details from WordPress installed inside a Folder. Suppose My App will be inside ===>>> www.example.com and my WordPress install will be inside ...
0
votes
0answers
38 views

wordpress not able to load wp-load.php file

I am using a WordPress website, I used many plugins. Now I am not able to quick edit, hide and show screen options, resize content text-area, hide and show custom post in the menu section and when I ...
0
votes
0answers
87 views

What is the best practice to initialise $wpdb by loading wp-load.php?

Why do users with high reputations suggest loading wp-load.php with a full path? My question is simple and was originally intended as an answer to this question. However I do not have a high enough ...
0
votes
0answers
184 views

Custom Plugin inlcude wp-load.php in my new.php file

I have created a custom plugin in WordPress and uploaded to the WordPress.org But the plugin is rejected due to I was including require_once("../../../../wp-load.php"); In one of my php file which ...
0
votes
0answers
179 views

Get wp-load.php PATH with wp_localize_script and JavaScript for plugin

I just learned about wp_localize_script() and it's very cool. I read Otto's post and Gary Cao's post, but I'm learning Ajax so I'm trying to wrap my head around getting the path to wp-load.php this ...
0
votes
0answers
357 views

Why I have this error when I try to install this old blog on my local webserver?

I am pretty new to WP (I came from Joomla) and I am finding some difficulties trying to put on my local web server an old backup of a website (made using WP 3.5) I have performed the following ...
0
votes
0answers
360 views

To call hook on a php external file

I can't to call the a filter hook on a php external file of wordpress. This is my code - my_external_file.php -: <?php require( dirname(__FILE__) . '/../../../../../../../wp-load.php'); ...