Automattic\WooCommerce\Internal\Abilities\Domain
ProductCreate::save
Save the product.
Method of the class: ProductCreate{}
No Hooks.
Returns
null|\WP_Error.
Usage
$ProductCreate = new ProductCreate(); $ProductCreate->save( $subject );
- $subject(WC_Product) (required)
- Changed product.
ProductCreate::save() ProductCreate::save code WC 11.3.0
public function save( $subject ) {
return self::save_product( $subject, 'woocommerce_product_create_failed' );
}