wp_localized_script is not defined when called via jquey ajax
I am struggling to get my ajax request to work. It fails when I fire my $ajax and I get this error… Uncaught ReferenceError: feature_ajax is not defined This is my functions.php // load our frontend modifiers require_once(__DIR__ . ‘/lib/Frontend.lib.php’); This is my Frontend.lib.php class php… class Frontend { /** frontend constructor */ public function … Read more