WC_Product_Attribute::set_position()
Set position.
{} It's a method of the class: WC_Product_Attribute{}
No Hooks.
Return
null
. Nothing.
Usage
$WC_Product_Attribute = new WC_Product_Attribute(); $WC_Product_Attribute->set_position( $value );
- $value(int) (required)
- Attribute position.
Code of WC_Product_Attribute::set_position() WC Product Attribute::set position WC 6.7.0
public function set_position( $value ) { $this->data['position'] = absint( $value ); }