bp_get_displayed_user_nav() and apply_filters_ref_array()
Quick – and quite possibly stupid – question.
In bp_get_displayed_user_nav() is an apply_filters_ref_array().
So shouldn’t my filter be receiving an array?
Yet unless I’ve lost my mind – again? – best I can tell I’m getting a string. I was expecting array(‘<l1>…‘, array of args) but only seem to be getting the ‘<l1>…‘ bit.
Specifically I want to change the value of $user_nav_item[‘name’] as defined by a plugin I’m using. Is there a way to pre-filter these before the ‘<l1>…‘ is setup?
- The topic ‘bp_get_displayed_user_nav() and apply_filters_ref_array()’ is closed to new replies.