Override class function inside bbpress/includes/extend/buddypress/activity.php
-
Hi,
i am looking to change a line of code, line 421 of bbpress/includes/extend/buddypress/activity.php from
$activity_text = sprintf( esc_html__( ‘%1$s started the topic %2$s in the forum %3$s’, ‘bbpress’ ), $user_link, $topic_link, $forum_link );
to
$activity_text = sprintf( esc_html__( ‘%1$s created the post %2$s in %3$s’, ‘bbpress’ ), $user_link, $topic_link, $forum_link );
i am unsure of how i can edit this function inside my child-theme, i have attempted to recreate the directory structure with no luck, and do not want to particularly edit the plugin folder for obvious reasons.
I am rather new to wordpress development etc, so any help would be appreciated.
Cheers,
Shaun.
- You must be logged in to reply to this topic.