Reply To: Bad default value for membership plan
July 26, 2020 at 1:38 pm Reply
Customer
I fixed it:
in class-elementor-woo.php I changed ‘default’ => ‘none’ for rules, so please check it if it is correct, it is working for me
$element->add_control( ‘elegant_modules_access_rule’, array(
‘label’ => __( ‘Access Rule’, ‘elegant-modules-content-restriction-elementor-woo’ ),
‘description’ => __( ‘Select a Rule to determine member access.’, ‘elegant-modules-content-restriction-elementor-woo’ ),
‘type’ => \Elementor\Controls_Manager::SELECT,
‘default’ => ‘none’,
‘options’ => $rules
) );