-
Gary Cornelisse replied to the topic SOLVED: Filtering display/nice name everywhere in the forum Creating & Extending 11 years, 5 months ago
add_filter takes four parameters… the 4th parameter is how many arguments to pass. I didn’t have it set so it assumed 1.
-
Gary Cornelisse replied to the topic SOLVED: Filtering display/nice name everywhere in the forum Creating & Extending 11 years, 5 months ago
Just to add… I get data in $values, but $field_id and $user_id are empty. How do I access the $field_id and $user_id that apply_filters is obviously sending somewhere?
-
Gary Cornelisse started the topic SOLVED: Filtering display/nice name everywhere in the forum Creating & Extending 11 years, 5 months ago
Maybe this is a more basic WP question, but I’ve looked and can’t find a clear answer. I’m trying to filter the name of a member everywhere its shown in BP. It looks like apply_filters is setting addition variables, but I get an warnings about missing arguements…
Line 187 in bp-xprofile-functions.php
$data = apply_filters(…
[Read more]
@gcornelisse
Active 3 years, 8 months ago