wpseek.com
WordPress开发者和主题制作者的搜索引擎



block_core_latest_posts_get_excerpt_length › WordPress Function

Sincen/a
已弃用n/a
block_core_latest_posts_get_excerpt_length ( 没有参数 )
返回:
  • (int) Returns the global $block_core_latest_posts_excerpt_length variable to allow the excerpt_length filter respect the Latest Block setting.
定义在:
文档:

Callback for the excerpt_length filter used by the Latest Posts block at render time.



源码

function block_core_latest_posts_get_excerpt_length() {
	global $block_core_latest_posts_excerpt_length;
	return $block_core_latest_posts_excerpt_length;
}