Skip to content
Snippets Groups Projects
Select Git revision
  • a8b3070e702ea0ee90bf7925b790bbbcd5a09488
  • main default protected
2 results

gitlab-ci.yml

Blame
  • functions_flexible_shipping.php 504 B
    <?php
    
    add_filter( 'flexible-shipping/group-method/supports/shipping-zones', function ( $status ) {
    	$option_value = get_option( 'wpdesk_flexible_shipping_group_method_supports_shipping_zones', '' );
    	if ( $option_value ) {
    		return true;
    	}
    
    	return $status;
    } );
    
    add_filter( 'flexible-shipping/group-method/supports/edit', function ( $status ) {
    	$option_value = get_option( 'wpdesk_flexible_shipping_group_method_supports_edit', '' );
    	if ( $option_value ) {
    		return true;
    	}
    
    	return $status;
    } );