Where is activity status update $content built before entering in wp_bp_activity
-
I want to customise the activity status update. Currently if you post an entry that includes a recognisable URL, BuddyPress will wrap the URL to create a clickable link before it gets entered into wp_bp_activity.
I’ve combed through the source code and can’t find where that happens.
For now, all I want to do is add target=”_blank” to the link, and I’m thinking I might need to hook into one of the bp_activity filters to apply a regexp to $content to make the change, but if I could find where $content is constructed and the link added in the first place it might be possible to make the change there.
Thanks
- The topic ‘Where is activity status update $content built before entering in wp_bp_activity’ is closed to new replies.