PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.19
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.19
1.10.19 1.10.18 1.10.17 1.10.16 1.10.15 1.10.13 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 1.10.8 untagged-3d9b7ccddc54df87c672 1.10.7 1.10.6 1.10.5 1.10.3 1.10.4 1.10.2 1.10.1 1.10.0 1.9.17 1.9.15 1.9.16 1.9.14 All 163 releases
← All changes | includes/API/V2/Writers/Null_Writer.php +14 -2 1.10.141.10.19 View file →
@@ -44,10 +44,22 @@
44 44 public function forward( array $prepared, callable $forward ) {
45 45 return $forward( $prepared['method'], $prepared['route'], $prepared['payload'] );
46 46 }
47 47
48 - /** No-op for pass-through persistence. */
49 - public function persist( string $phase, int $id, array $payload, array $current = array(), array $response_data = array(), array $context = array() ): void {
48 + /** No-op after create for pass-through collections. */
49 + public function after_create( int $id, array $payload ): void {
50 + }
51 +
52 + /** No-op after identity for pass-through collections. */
53 + public function after_identity( int $id, array $payload ): void {
54 + }
55 +
56 + /** No-op after recovery for pass-through collections. */
57 + public function after_recovery( int $id, array $payload ): void {
58 + }
59 +
60 + /** No-op after update for pass-through collections. */
61 + public function after_update( int $id, array $payload, array $current, array $response_data, array $context ): void {
50 62 }
51 63
52 64 /** Delete a generic collection record, honouring the envelope's `force` flag. */
53 65 public function delete( array $meta, int $id, array $mutation, callable $dispatch, callable $can_delete ) {