Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/27/2021 10:47:39 AM (5 years ago)
Author:
imath
Message:

Set the show_instance_in_rest to true for all BP Widgets options

Using this widget option will allow users to transform our legacy widgets to widget blocks.

Fixes #8496

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/activity/widgets.php

    r12949 r12976  
    2020     *
    2121     * @since 3.0.0
     22     * @since 9.0.0 Adds the `show_instance_in_rest` property to Widget options.
    2223     */
    2324    public function __construct() {
     
    3536                'description'                 => __( 'Display the latest updates of your community having the types of your choice.', 'buddypress' ),
    3637                'customize_selective_refresh' => true,
     38                'show_instance_in_rest'       => true,
    3739            )
    3840        );
Note: See TracChangeset for help on using the changeset viewer.