bp_register_block( array $args = array() )

Register a BuddyPress block type.


Parameters Parameters

$args

(array) (Optional) The registration arguments for the block type.

Default value: array()


Top ↑

Return Return

(BP_Block) The BuddyPress block type object.


Source Source

File: bp-core/bp-core-blocks.php

function bp_register_block( $args = array() ) {
	return new BP_Block( $args );
}


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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