Support

Account

Home Forums Backend Issues (wp-admin) How can I override the global error message? Reply To: How can I override the global error message?

  • Hi,

    i did it with jquery:

    $(document).ajaxComplete(function() {
        $('.acf-notice p').each(function() {
            var text = $(this).text();
            $(this).text(text.replace('OLD ERROR MESSAGE', 'NEW ERROR MESAGE')); 
        });
    });