In WooCommerce membership plugin there is a file with name class-wc-memberships-restrictions.php this file have the following class and constructor and that constructor have lots of filters, but I want to remove this filter from my child theme functions.php file
How can I remove this filter from child theme functions.php file
class WC_Memberships_Restrictions {
public function __construct() {
add_filter( 'the_content', array( $this, 'restrict_content' ) );
}