woocommerce_new_product

woocommerce_new_product

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_new_product') is found 1 times:

  • /includes/data-stores/class-wc-product-data-store-cpt.php line 260
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
            $product->save_meta_data();
            $product->apply_changes();
     
            do_action( 'woocommerce_new_product', $id, $product );
        }
    }
     
    /**
     * Method to read a product from the database.
     *

See this hook used in plugins: