WC_Product::set_name()
Set product name.
Method of the class: WC_Product{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Product = new WC_Product(); $WC_Product->set_name( $name );
- $name(string) (required)
- Product name.
Changelog
Since 3.0.0 | Introduced. |
WC_Product::set_name() WC Product::set name code WC 9.7.1
public function set_name( $name ) { $this->set_prop( 'name', $name ); }