bp_legacy_theme_blog_create_button( string $title )

Add the Create a Site button to the Sites directory title.


Description Description

The bp-legacy puts the Create a Site button into the page title, to mimic the behavior of bp-default.


Top ↑

Parameters Parameters

$title

(string) (Required) Sites directory title.


Top ↑

Return Return

(string)


Source Source

File: bp-templates/bp-legacy/buddypress-functions.php

function bp_legacy_theme_blog_create_button( $title ) {
	return $title . ' ' . bp_get_blog_create_button();
}


Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.