Skip to content

Instantly share code, notes, and snippets.

@xlplugins
Created November 25, 2025 10:47
Show Gist options
  • Select an option

  • Save xlplugins/1b43aa8c036535a34699847ad3a17ec0 to your computer and use it in GitHub Desktop.

Select an option

Save xlplugins/1b43aa8c036535a34699847ad3a17ec0 to your computer and use it in GitHub Desktop.
Funnelkit Checkout:Add Shipping Location for Chwazi - Delivery & Pickup Scheduling plugin
add_filter('lpac_dps_available_location_hooks', function ( $hooks ) {
$hooks['wfacp_before_shipping_calculator_field'] = __( 'Funnelkit Checkout Before Shipping Method', 'delivery-and-pickup-scheduling-for-woocommerce' );
$hooks['wfacp_after_shipping_calculator_field'] = __( 'Funnelkit Checkout After Shipping Method', 'delivery-and-pickup-scheduling-for-woocommerce' );
return $hooks;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment