Automattic\WooCommerce\Blocks\BlockTypes
AbstractDynamicBlock::get_schema_list_ids
Get the schema for a list of IDs.
Method of the class: AbstractDynamicBlock{}
No Hooks.
Returns
Array. Property definition for a list of numeric ids.
Usage
// protected - for code of main (parent) or child class $result = $this->get_schema_list_ids();
AbstractDynamicBlock::get_schema_list_ids() AbstractDynamicBlock::get schema list ids code WC 10.7.0
protected function get_schema_list_ids() {
return array(
'type' => 'array',
'items' => array(
'type' => 'number',
),
'default' => array(),
);
}