Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc request for ticket: 25877 #611

Open
Stiofan opened this issue Oct 29, 2021 · 1 comment
Open

Doc request for ticket: 25877 #611

Stiofan opened this issue Oct 29, 2021 · 1 comment
Assignees
Labels

Comments

@Stiofan
Copy link
Contributor

Stiofan commented Oct 29, 2021

Documentation has been requested to help with ticket: https://secure.helpscout.net/conversation/1677650909/25877

@wpdev10
Copy link
Collaborator

wpdev10 commented Nov 24, 2021

The following snippet will allow adding more social links custom fields to show on the social icons in the profile page:

add_filter('uwp_widget_button_group_args', 'uwp_widget_button_group_args_cb', 10, 1);
function uwp_widget_button_group_args_cb($args){
if(isset($args['fields']) && !empty($args['fields'])){
$args['fields'] = 'facebook,twitter,instagram,linkedin,flickr,github,youtube,wordpress,tiktok';
}

return $args;

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants