bp_activity_editor_settings( array $bp_editor_settings = array() )

Add BP Activity blocks specific settings to the BP Blocks Editor ones.

Parameters Parameters


(array) (Optional) BP blocks editor settings.

Default value: array()

Top ↑

Return Return

(array) BP Activity blocks editor settings.

Source Source

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

function bp_activity_editor_settings( $bp_editor_settings = array() ) {
	return array_merge(
			'activity' => array(
				'embedScriptURL' => includes_url( 'js/wp-embed.min.js' ),

Top ↑

Changelog Changelog

Version Description
7.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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