redux-framework icon indicating copy to clipboard operation
redux-framework copied to clipboard

Error including Redux in non WP file

Open mattrace opened this issue 12 years ago • 1 comments

I'm trying to include Redux in a file outside of WordPress (no WP references). However I'm getting this error.

PHP Fatal error:  Call to undefined function add_action() in /wp-content/themes/jsb/core/options/extensions/loader.php on line 27

Any help with this would be much appreciated.

mattrace avatar Oct 28 '14 03:10 mattrace

Since Redux is dependent on WP, I don't think that is possible.

kprovance avatar Oct 28 '14 03:10 kprovance