woocommerce_product_bulk_and_quick_edit
Использование
add_action( 'woocommerce_product_bulk_and_quick_edit', 'wp_kama_woocommerce_product_bulk_and_quick_edit_action', 10, 2 ); /** * Function for `woocommerce_product_bulk_and_quick_edit` action-hook. * * @param $post_id * @param $post * * @return void */ function wp_kama_woocommerce_product_bulk_and_quick_edit_action( $post_id, $post ){ // action... }
- $post_id
- -
- $post
- -
Где вызывается хук
woocommerce_product_bulk_and_quick_edit
woocommerce/includes/admin/class-wc-admin-post-types.php 344
do_action( 'woocommerce_product_bulk_and_quick_edit', $post_id, $post );
Где используется хук в WooCommerce
woocommerce/includes/admin/class-wc-admin-post-types.php 76
add_action( 'woocommerce_product_bulk_and_quick_edit', array( $this, 'bulk_and_quick_edit_save_post' ), 10, 2 );