WordPress PHP script not correctly being called by Javascript I’ve redacted some info that’s not relevant.