backorders

backorders

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('backorders') is found 1 times:

  • /includes/class-wc-product-variation.php line 356
    		$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.