Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How does the filter xprofile_filter_link_profile_data works?


Burt Adsit
Participant

@burtadsit

The xprofile_filter_link_profile_data() function takes 3 params nicola. You are telling wp that the function call takes only 1 with add_filter(‘whatever’,’something’,1,1)

There are no defaults for that xprofile function so it crashes. Gotta specify 3 and pass 3 params.

add_filter(‘whatever’,’something’,1,3)

Skip to toolbar