woocommerce_api_edit_webhook_data

woocommerce_api_edit_webhook_data

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_api_edit_webhook_data') is found 2 times:

  • /includes/legacy/api/v2/class-wc-api-webhooks.php line 253
    			if ( is_wp_error( $id ) ) {
    				return $id;
    			}
    
    			$data = apply_filters( 'woocommerce_api_edit_webhook_data', $data, $id, $this );
    
    			$webhook = wc_get_webhook( $id );
    
    			// update topic
    			if ( ! empty( $data['topic'] ) ) {
    
    
  • /includes/legacy/api/v3/class-wc-api-webhooks.php line 253
    			if ( is_wp_error( $id ) ) {
    				return $id;
    			}
    
    			$data = apply_filters( 'woocommerce_api_edit_webhook_data', $data, $id, $this );
    
    			$webhook = wc_get_webhook( $id );
    
    			// update topic
    			if ( ! empty( $data['topic'] ) ) {