woocommerce_coupon_loaded

woocommerce_coupon_loaded

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_coupon_loaded') is found 1 times:

  • /includes/data-stores/class-wc-coupon-data-store-cpt.php line 152
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
            )
        );
        $coupon->read_meta_data();
        $coupon->set_object_read( true );
        do_action( 'woocommerce_coupon_loaded', $coupon );
    }
     
    /**
     * Get a metadata value that is stored as either a string consisting of a comma-separated list of values
     * or as a serialized array.
     *