bp_rest_version()

BuddyPress REST API version.


Return Return

(string)


Source Source

File: bp-core/bp-core-rest-api.php

function bp_rest_version() {

	/**
	 * Filter API version.
	 *
	 * @since 5.0.0
	 *
	 * @param string $version BuddyPress core version.
	 */
	return apply_filters( 'bp_rest_version', 'v1' );
}


Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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