Automattic\WooCommerce\Blocks\BlockTypes
AbstractDynamicBlock::get_schema_list_ids()
Get the schema for a list of IDs.
Метод класса: AbstractDynamicBlock{}
Хуков нет.
Возвращает
Массив
. Property definition for a list of numeric ids.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_schema_list_ids();
Код AbstractDynamicBlock::get_schema_list_ids() AbstractDynamicBlock::get schema list ids WC 7.5.1
protected function get_schema_list_ids() { return array( 'type' => 'array', 'items' => array( 'type' => 'number', ), 'default' => array(), ); }