You’re on the right track. Try this instead:
require_once("../../../../wp-load.php");
More Related Contents:
- My Link won’t work after custom post delete (wordpress) [closed]
- Why is PHP printing variables used in if statement?
- Display in stock data in short description [closed]
- How to use this code my wordpress theme
- Get Order items and WC_Order_Item_Product in WooCommerce 3
- How to debug in WooCommerce 3+
- Cannot modify header information – headers already sent by… WordPress Issue [duplicate]
- Passing a variable from one php include file to another: global vs. not
- Add columns to admin orders list in WooCommerce
- include, include_once, require or require_once?
- Reordering checkout fields in WooCommerce 3
- query_posts() should be avoided?
- Php – Your PHP installation appears to be missing the MySQL extension which is required by WordPress
- Proper URL forming with a query string and an anchor hashtag
- Create an order programmatically with line items in Woocommerce 3+
- WooCommerce – get category for product page
- WooCommerce: Check if items are already in cart
- Updating product stock programmatically in Woocommerce 3
- PHP- Decode JSON
- WordPress prepared statement with IN() condition
- Customize addresses fields on WooCommerce My account and Checkout
- Pass extra parameters to usort callback [duplicate]
- How to include file outside document root?
- Set product sale price programmatically in WooCommerce 3
- Get refunded orders and refunded order items details in Woocommerce 3
- Changing WooCommerce cart item names
- How to get the WordPress post thumbnail (featured image) URL?
- Add a custom checkbox in WooCommerce checkout which value shows in admin edit order
- How to Load Ajax in WordPress
- WooCommerce – send custom email on custom order status change