You're erasing other WordPress contact methods ^^
-
Hello,
There is a little problem line 754 of ExpressCurate_Settings.php,
Instead of :public function add_user_profile_metas() { // Add new fields $profile_fields['expresscurate_twitter'] = 'Twitter Username'; $profile_fields['expresscurate_facebook'] = 'Facebook URL'; $profile_fields['expresscurate_gplus'] = 'Google+ URL'; return $profile_fields; }
you should do :
public function add_user_profile_metas( $profile_field ) { // Add new fields $profile_fields['expresscurate_twitter'] = 'Twitter Username'; $profile_fields['expresscurate_facebook'] = 'Facebook URL'; $profile_fields['expresscurate_gplus'] = 'Google+ URL'; return $profile_fields; }
Actually you’re erasing other contact method created by themes or plugins.
The hookuser_contactmethods
is a filter which can take an argument : an array of existing contact methods ??Have a nice day,
Willy
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘You're erasing other WordPress contact methods ^^’ is closed to new replies.