Request a filter on user profile fields
-
We’d like to implement some special behaviour on the additional user profile fields. For example, given a “manager” field, link to the manager’s profile; or turn a telephone number into a link for dialling within the specific network.
This could all be achieved if there was a filter available to affect the content, after the raw value has been escaped.
ad-integration.php, line 1197:
echo nl2br(esc_html($value));could become:
echo apply_filters('somefiltername', nl2br(esc_html($value)), $attribute, $user, $all_attributes);The extra fields are provided in case a user’s other fields are needed.
The topic ‘Request a filter on user profile fields’ is closed to new replies.