wc_order_attribution_allow_multiple_elements

wc_order_attribution_allow_multiple_elements

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.10.5.2

apply_filters('wc_order_attribution_allow_multiple_elements') is found 1 times:

  • /src/Internal/Orders/OrderAttributionController.php line 430
    		 * @since 10.5.0
    		 *
    		 * @param bool $allow_multiple_elements True to allow multiple elements (new behavior), false for single element (old behavior).
    		 */
    		$allow_multiple = apply_filters( 'wc_order_attribution_allow_multiple_elements', true );
    
    		// If single-output mode is enabled, use the static flag to prevent multiple outputs.
    		if ( ! $allow_multiple && self::$is_stamp_html_called ) {
    			return;
    		}