All Topics
Conflict with api.php
Hi all
I used to use an api.php file in my theme to make some ajax stuff, I have a grunt.php file to, in the same place to do some Grunt stuff.
The issue when the plugin Admin Columns is loaded is that when I load WP programmatically (in my grunt.php file)
define('WP_USE_THEMES', false); require_once(dirname(__FILE__).'/../../../wp-load.php');
it’s load my api.php file, not your, because of the line 65 in the file cac-addon-acf/cac-addon-acf.php
require_once 'api.php';
It’s only need to be modified to
require_once dirname(__FILE__).'/api.php';
to work like a charm
Thank you
You must be logged in to reply to this topic.