purchase_note

purchase_note

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('purchase_note') is found 1 times:

  • /includes/class-wc-product-variation.php line 391
    		$value = $this->get_prop( 'purchase_note', $context );
    
    		// Inherit value from parent.
    		if ( 'view' === $context && empty( $value ) ) {
    			$value = apply_filters( $this->get_hook_prefix() . 'purchase_note', $this->parent_data['purchase_note'], $this );
    		}
    		return $value;
    	}
    
    	/**
    	 * Get shipping class ID.