woocommerce_api_edit_product_category

woocommerce_api_edit_product_category

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.8.9.3

do_action('woocommerce_api_edit_product_category') is found 1 times:

  • /includes/legacy/api/v3/class-wc-api-products.php line 833
    			if ( isset( $image_id ) ) {
    				update_term_meta( $id, 'thumbnail_id', $image_id );
    			}
    
    			do_action( 'woocommerce_api_edit_product_category', $id, $data );
    
    			return $this->get_product_category( $id );
    		} catch ( WC_API_Exception $e ) {
    			return new WP_Error( $e->getErrorCode(), $e->getMessage(), array( 'status' => $e->getCode() ) );
    		}
    	}