Changeset 12996 for trunk/src/bp-activity/bp-activity-blocks.php
- Timestamp:
- 07/12/2021 11:57:59 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-activity/bp-activity-blocks.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-blocks.php
r12747 r12996 12 12 exit; 13 13 } 14 15 /**16 * Add BP Activity blocks specific settings to the BP Blocks Editor ones.17 *18 * @since 7.0.019 *20 * @param array $bp_editor_settings BP blocks editor settings.21 * @return array BP Activity blocks editor settings.22 */23 function bp_activity_editor_settings( $bp_editor_settings = array() ) {24 return array_merge(25 $bp_editor_settings,26 array(27 'activity' => array(28 'embedScriptURL' => includes_url( 'js/wp-embed.min.js' ),29 ),30 )31 );32 }33 add_filter( 'bp_blocks_editor_settings', 'bp_activity_editor_settings' );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)