• Resolved bradlee

    (@bradlee)


    I’m using the bp_has_links() loop to query the logged in user’s links by passing in the user_id as an argument, but this is only displaying “public” links. I can’t display “private” links unless I’m viewing my links section within members (/members/username/links). It looks like $bp->current_action needs to be “my-links,” but is there a way to properly override, or make ALL my links visible independent of what page i’m viewing?

    https://wordpress.org/plugins/buddypress-links/

Viewing 1 replies (of 1 total)
  • Plugin Author MrMaz

    (@mrmaz)

    As it stands, the status portion of the query is hard coded and it does use the context of the current screen to determine if “hidden” links should be shown.

    If you open up a feature request I will try to add an additional argument that can be passed via the loop function to instruct the query builder to also include friends only and/or hidden links.

    https://github.com/PressCrew/buddypress-links/issues

Viewing 1 replies (of 1 total)
  • The topic ‘how to fetch "my links" outside of user profile context?’ is closed to new replies.