WC_Product::set_name
Set product name.
Method of the class: WC_Product{}
No Hooks.
Returns
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 10.6.2
public function set_name( $name ) {
$this->set_prop( 'name', $name );
}