[ad_1]
Hello there,
first, thanks a lot for your great plugin.
would it be possible to add argument
'show_in_rest' => true,
in /lib/classes/TSSProInit.php where you register the testimonial custom post type
in between lines 130 – 170
this way users can enable the gutenberg editor via a short filter in functions.php
if ( ! function_exists( 'ww_activate_block_editor' ) ) :
function ww_activate_block_editor($can_edit, $post_type){
if($post_type == 'testimonial'){
$can_edit = true;
}
return $can_edit;
}
add_filter('use_block_editor_for_post_type', 'ww_activate_block_editor', 10, 2);
endif;that would be awesome 🙂
thanks, greetings
& keep up the good work!
Becki
