woocommerce_delete_order_downloadable_permissions хук-событие . WC 1.0
Remove downloadable permissions on permanent order deletion.
Использование
add_action( 'woocommerce_delete_order_downloadable_permissions', 'action_function_name_999' ); function action_function_name_999( $postid ){ // action... }
- $postid(число)
- Post ID.
Где вызывается хук
woocommerce_delete_order_downloadable_permissions
woocommerce/includes/class-wc-post-data.php 451
do_action( 'woocommerce_delete_order_downloadable_permissions', $postid );