Skip to content

Instantly share code, notes, and snippets.

@contemplate
Created August 9, 2022 12:21
Show Gist options
  • Select an option

  • Save contemplate/310b92b56930f2c8de246ceae813d38a to your computer and use it in GitHub Desktop.

Select an option

Save contemplate/310b92b56930f2c8de246ceae813d38a to your computer and use it in GitHub Desktop.
BUDDYBOSS SHOW MORE SOCIAL ACCOUNTS
$is_more_link = count( array_filter( $original_option_values ) ) > 10;
@contemplate
Copy link
Copy Markdown
Author

BUDDYBOSS Social Account Edit:
/plugins/buddyboss-platform/bp-xprofile/bp-xprofile-functions.php

Show more than two social icons on a users profile.

Replace Code On Line 1703 with the above code:
$is_more_link = count( array_filter( $original_option_values ) ) > 3;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment