woocommerce_coupon_loaded

woocommerce_coupon_loaded

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_coupon_loaded') is found 1 times:

  • /includes/data-stores/class-wc-coupon-data-store-cpt.php line 151
    			)
    		);
    		$coupon->read_meta_data();
    		$coupon->set_object_read( true );
    		do_action( 'woocommerce_coupon_loaded', $coupon );
    	}
    
    	/**
    	 * Updates a coupon in the database.
    	 *
    	 * @since 3.0.0