2016-11-01, 10:31 PM
Hi there!
I am developing a plugin using the parse_message hook. So far, so good. However I am including some profile fields using $post['fidXX'] etc. And here the problem starts. Afforementioned variable always shows the "raw" (e.g. non-parsed) profile fields straight from the database. I have ticked to allow MyCode and HTML, but the field is raw, as I already confirmed by reading the source.
So, how do I get around this? I would like to show a given profile field after being parsed in postbit and memberprofile. I cannot use "show in profile/postbit" because of theming (the fields are split in the theme).
I am developing a plugin using the parse_message hook. So far, so good. However I am including some profile fields using $post['fidXX'] etc. And here the problem starts. Afforementioned variable always shows the "raw" (e.g. non-parsed) profile fields straight from the database. I have ticked to allow MyCode and HTML, but the field is raw, as I already confirmed by reading the source.
So, how do I get around this? I would like to show a given profile field after being parsed in postbit and memberprofile. I cannot use "show in profile/postbit" because of theming (the fields are split in the theme).