Schema Documentation
WoocommerceProductButtonAttributes
Description
Attributes of the %s Block Type
Fields
Field Name | Description |
---|---|
align - String | The "align" field on the "WoocommerceProductButton" block |
className - String | The "className" field on the "WoocommerceProductButton" block |
fontSize - String | The "fontSize" field on the "WoocommerceProductButton" block |
isDescendentOfQueryLoop - Boolean | The "isDescendentOfQueryLoop" field on the "WoocommerceProductButton" block |
isDescendentOfSingleProductBlock - Boolean | The "isDescendentOfSingleProductBlock" field on the "WoocommerceProductButton" block |
lock - BlockAttributesObject | The "lock" field on the "WoocommerceProductButton" block |
productId - Float | The "productId" field on the "WoocommerceProductButton" block |
style - BlockAttributesObject | The "style" field on the "WoocommerceProductButton" block |
textAlign - String | The "textAlign" field on the "WoocommerceProductButton" block |
textColor - String | The "textColor" field on the "WoocommerceProductButton" block |
width - Float | The "width" field on the "WoocommerceProductButton" block |
Example
{"align":"xyz789","className":"xyz789","fontSize":"abc123","isDescendentOfQueryLoop":true,"isDescendentOfSingleProductBlock":false,"lock":BlockAttributesObject,"productId":123.45,"style":BlockAttributesObject,"textAlign":"xyz789","textColor":"abc123","width":987.65}