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/Interfaces/Collection_Writer_Interface.php +11 -2 1.10.161.10.19 View file →
@@ -39,10 +39,19 @@
39 39
40 40 /** Forward a prepared write within collection hooks. */
41 41 public function forward( array $prepared, callable $forward );
42 42
43 - /** Persist collection data at a named create/update lifecycle phase. */
44 - public function persist( string $phase, int $id, array $payload, array $current = array(), array $response_data = array(), array $context = array() ): void;
43 + /** After the wc/v3 create returned an id, before the client UUID is proven on it. */
44 + public function after_create( int $id, array $payload ): void;
45 +
46 + /** After the client UUID is proven on the created record, before the mutation is finalized. */
47 + public function after_identity( int $id, array $payload ): void;
48 +
49 + /** On a retry that re-proves a poisoned create's identity, before it is finalized. */
50 + public function after_recovery( int $id, array $payload ): void;
51 +
52 + /** After a wc/v3 update succeeded, before the mutation is finalized. */
53 + public function after_update( int $id, array $payload, array $current, array $response_data, array $context ): void;
45 54
46 55 /** Execute the collection-specific delete forward. */
47 56 public function delete( array $meta, int $id, array $mutation, callable $dispatch, callable $can_delete );
48 57