Home › Forums › Backend Issues (wp-admin) › How can I send an additional field during ajax requests? › Reply To: How can I send an additional field during ajax requests?
The plugin that you mention was created by a 3rd party and not the developers of ACF.
However, I took a quick look. Going to be honest, I don’t know the answer, but my guess is that this is happening because
load_plugin_textdomain() is being called too early in this plugin and this is causing the erratic behavior. I see that this plugin has not been updated in some time and this could also be part of the issue.
At any rate…
If you look at the code for that pluing you’ll see a call to
load_plugin_textdomain() inside of the plugin’s
__construct() method. I would try moving this call into the plugin’s
include_field_types() method as can be see in the field type starter code that the ACF developer provides here https://github.com/AdvancedCustomFields/acf-field-type-template/blob/master/acf-FIELD-NAME/acf-FIELD-NAME.php.
Don’t know if this will fix your issue or not.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
📣 “ACF Chat Fridays”— Advanced Custom Fields (@wp_acf) January 31, 2023
The ACF team holds their first open office hours this Friday! Come and talk ACF, and ask questions about building sites with the plugin.
We’d love to see you there!
📆 Friday 3rd Feb - 3pm UTC
👉 Register here - https://t.co/3UtvQbE4CU pic.twitter.com/oTwW9K1XQ0
© 2023 Advanced Custom Fields.