woocommerce_delete_order_downloadable_permissions хук-событиеWC 1.0

Remove downloadable permissions on permanent order deletion.

Использование

add_action( 'woocommerce_delete_order_downloadable_permissions', 'wp_kama_woocommerce_delete_order_downloadable_permissions_action' );

/**
 * Function for `woocommerce_delete_order_downloadable_permissions` action-hook.
 * 
 * @param int $postid Post ID.
 *
 * @return void
 */
function wp_kama_woocommerce_delete_order_downloadable_permissions_action( $postid ){

	// action...
}
$postid(int)
Post ID.

Где вызывается хук

WC_Post_Data::delete_order_downloadable_permissions()
woocommerce_delete_order_downloadable_permissions
woocommerce/includes/class-wc-post-data.php 490
do_action( 'woocommerce_delete_order_downloadable_permissions', $postid );

Где используется хук в WooCommerce

Использование не найдено.