StoredStateSetupForProducts::run_on_transition_post_status( string $new_status, string $old_status, AutomatticWooCommerceAdminRemoteInboxNotificationsPost $post )

Runs when a post status transitions, but we’re only interested if it is a product being published.


Description Description


Parameters Parameters

$new_status

(Required) The new status.

$old_status

(Required) The old status.

$post

(Required) The post.


Top ↑

Source Source

File: packages/woocommerce-admin/src/RemoteInboxNotifications/StoredStateSetupForProducts.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.