woocommerce_admin_after_product_gallery_item хук-событие . WC 1.0
Allow for extra info to be exposed or extra action to be executed for this attachment.
Использование
add_action( 'woocommerce_admin_after_product_gallery_item', 'action_function_name_6972', 10, 2 ); function action_function_name_6972( $thepostid, $attachment_id ){ // action... }
- $thepostid
- -
- $attachment_id
- -
Где вызывается хук
woocommerce_admin_after_product_gallery_item
woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-images.php 60
do_action( 'woocommerce_admin_after_product_gallery_item', $thepostid, $attachment_id );