first commit

This commit is contained in:
2026-03-05 13:07:40 +01:00
commit 64ba0721ee
25709 changed files with 4691006 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
/**
* Class WPDesk_Flexible_Shipping_UK_States
*/
class WPDesk_Flexible_Shipping_Shorcode_Unit_Weight implements \FSVendor\WPDesk\PluginBuilder\Plugin\HookablePluginDependant {
use \FSVendor\WPDesk\PluginBuilder\Plugin\PluginAccess;
/**
* Hooks.
*/
public function hooks() {
add_shortcode( 'unit_weight', [ $this, 'shortcode_unit_weight' ] );
}
/**
* Shortcode Unit Weight.
*
* @return string
*/
public function shortcode_unit_weight() {
return '[' . get_option( 'woocommerce_weight_unit', '' ) . ']';
}
}