WordPress at a glance
function is not described

WC_Admin_Post_Types::bulk_and_quick_edit_hook() public WC 3.0.0

Offers a way to hook into save post without causing an infinite loop when quick/bulk saving product info.

{} It's a method of the class: WC_Admin_Post_Types{}

Return

null. Nothing.

Usage

$WC_Admin_Post_Types = new WC_Admin_Post_Types();
$WC_Admin_Post_Types->bulk_and_quick_edit_hook( $post_id, $post );
$post_id(int) (required)
Post ID being saved.
$post(object) (required)
Post object being saved.

Changelog

Since 3.0.0 Introduced.

Code of WC_Admin_Post_Types::bulk_and_quick_edit_hook() WC 5.3.0

<?php
public function bulk_and_quick_edit_hook( $post_id, $post ) {
	remove_action( 'save_post', array( $this, 'bulk_and_quick_edit_hook' ) );
	do_action( 'woocommerce_product_bulk_and_quick_edit', $post_id, $post );
	add_action( 'save_post', array( $this, 'bulk_and_quick_edit_hook' ), 10, 2 );
}