woocommerce_after_

woocommerce_after_

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

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

do_action('woocommerce_after_') is found 4 times:

  • /includes/abstracts/abstract-wc-data.php line 250
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
         *
         * @param WC_Data          $this The object being saved.
         * @param WC_Data_Store_WP $data_store THe data store persisting the data.
         */
        do_action( 'woocommerce_after_' . $this->object_type . '_object_save', $this, $this->data_store );
     
        return $this->get_id();
    }
     
    /**
     * Change data to JSON format.
  • /includes/abstracts/abstract-wc-order.php line 239
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
         *
         * @param WC_Data          $this The object being saved.
         * @param WC_Data_Store_WP $data_store THe data store persisting the data.
         */
        do_action( 'woocommerce_after_' . $this->object_type . '_object_save', $this, $this->data_store );
     
    } catch ( Exception $e ) {
        $message_id = $this->get_id() ? $this->get_id() : __( '(no ID)', 'woocommerce' );
        $this->handle_exception(
            $e,
            wp_kses_post(
  • /includes/abstracts/abstract-wc-product.php line 1490
    1486
    1487
    1488
    1489
    1490
    1491
    1492
    1493
    1494
    1495
    1496
         *
         * @param WC_Data          $this The object being saved.
         * @param WC_Data_Store_WP $data_store THe data store persisting the data.
         */
        do_action( 'woocommerce_after_' . $this->object_type . '_object_save', $this, $this->data_store );
     
        return $this->get_id();
    }
     
    /**
     * Do any extra processing needed before the actual product save
  • /includes/class-wc-shipping-zone.php line 287
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
         *
         * @param WC_Data          $this The object being saved.
         * @param WC_Data_Store_WP $data_store THe data store persisting the data.
         */
        do_action( 'woocommerce_after_' . $this->object_type . '_object_save', $this, $this->data_store );
     
        return $this->get_id();
    }
     
    /**
     * Generate a zone name based on location.