GC_Block_Type::get_attributes()
最后更新于:2021-11-26 11:01:12
GC_Block_Type::get_attributes()Get all available block attributes including possible layout attribute from Columns block.
响应
(array) Array of attributes.
源文件
文件: gc-includes/class-gc-block-type.php
public function get_attributes() {
return is_array( $this->attributes ) ?
$this->attributes :
array();
}