backorders

backorders

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('backorders') is found 1 times:

  • /includes/class-wc-product-variation.php line 361
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
        $value = $this->get_prop( 'backorders', $context );
     
        // Inherit value from parent.
        if ( 'view' === $context && 'parent' === $this->get_manage_stock() ) {
            $value = apply_filters( $this->get_hook_prefix() . 'backorders', $this->parent_data['backorders'], $this );
        }
        return $value;
    }
     
    /**
     * Get main image ID.