芝麻web文件管理V1.00
编辑当前文件:/home/paymbalq/www/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractDynamicBlock.php
'string', 'enum' => array( 'left', 'center', 'right', 'wide', 'full' ), ); } /** * Get the schema for a list of IDs. * * @return array Property definition for a list of numeric ids. */ protected function get_schema_list_ids() { return array( 'type' => 'array', 'items' => array( 'type' => 'number', ), 'default' => array(), ); } /** * Get the schema for a boolean value. * * @param string $default The default value. * @return array Property definition. */ protected function get_schema_boolean( $default = true ) { return array( 'type' => 'boolean', 'default' => $default, ); } /** * Get the schema for a numeric value. * * @param string $default The default value. * @return array Property definition. */ protected function get_schema_number( $default ) { return array( 'type' => 'number', 'default' => $default, ); } /** * Get the schema for a string value. * * @param string $default The default value. * @return array Property definition. */ protected function get_schema_string( $default = '' ) { return array( 'type' => 'string', 'default' => $default, ); } }