_excerpt_render_inner_columns_blocks

函式
_excerpt_render_inner_columns_blocks ( $columns, $allowed_blocks )
Access
Private
引數
  • (array) $columns The parsed columns block.
    Required:
  • (array) $allowed_blocks The list of allowed inner blocks.
    Required:
返回值
  • (string) The rendered inner blocks.
相關
  • _excerpt_render_inner_blocks()
定義位置
相關方法
_excerpt_render_inner_blocksexcerpt_remove_blocksrender_block_core_blockwp_render_widget_controlget_hidden_columns
引入
5.2.0
棄用
5.8.0

excerpt_render_inner_columns_blocks: 該函式用於在塊編輯器中渲染帶列的摘錄塊的內部塊: 這個函式被WordPress內部用來渲染帶列的摘錄塊。

渲染來自`core/columns`塊的內部區塊,用於生成一個摘錄。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function _excerpt_render_inner_columns_blocks( $columns, $allowed_blocks ) {
_deprecated_function( __FUNCTION__, '5.8.0', '_excerpt_render_inner_blocks()' );
return _excerpt_render_inner_blocks( $columns, $allowed_blocks );
}
function _excerpt_render_inner_columns_blocks( $columns, $allowed_blocks ) { _deprecated_function( __FUNCTION__, '5.8.0', '_excerpt_render_inner_blocks()' ); return _excerpt_render_inner_blocks( $columns, $allowed_blocks ); }
function _excerpt_render_inner_columns_blocks( $columns, $allowed_blocks ) {
	_deprecated_function( __FUNCTION__, '5.8.0', '_excerpt_render_inner_blocks()' );

	return _excerpt_render_inner_blocks( $columns, $allowed_blocks );
}

常見問題

FAQs
檢視更多 >