• Resolved madis

    (@madis)


    Hi!

    Thanks for the plugin.
    I’m using your plugin with Advanced Custom Fields and have added a filter to encode emails in custom fields as well. It’s working, however, ACF has a field type called Relationships that is an array. Function eae_encode_emails expects strings and throws an error. Would you like to add a type check into that function?

    Something like:

    if ( gettype($string) != 'string' ) {
        return 0;
    }

    https://wordpress.org/plugins/email-address-encoder/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Suggestion to add variable type check’ is closed to new replies.