bp_helper_rankmath_group_page_support( $title )

Add Page Title on Platform Group Page in Rank Math Plugin

Description

Source

File: bp-core/compatibility/bp-rankmath-plugin-helpers.php

function bp_helper_rankmath_group_page_support( $title ) {

	if (
		bp_is_active( 'groups' ) && ! empty( buddypress()->groups->current_group )
		|| bp_is_user()
	) {
		$group_page = new BP_RankMath_Title();
		$title      = $group_page->title();
	}

	return $title;
}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.