WC_Shipping_Flat_Rate::get_weight_placeholder
Get the [weight] placeholder handler.
Private so that the placeholder adds no new subclassing surface.
Method of the class: WC_Shipping_Flat_Rate{}
No Hooks.
Returns
WeightPlaceholder.
Usage
// private - for code of main (parent) class only $result = $this->get_weight_placeholder();
WC_Shipping_Flat_Rate::get_weight_placeholder() WC Shipping Flat Rate::get weight placeholder code WC 11.3.0
private function get_weight_placeholder() {
return wc_get_container()->get( WeightPlaceholder::class );
}