wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



block_core_latest_posts_get_excerpt_length › WordPress Function

Desde5.4.0
Obsoleton/a
› block_core_latest_posts_get_excerpt_length ( Sem parâmetros )
Retorna:
  • (int) Returns the global $block_core_latest_posts_excerpt_length variable
    to allow the excerpt_length filter respect the Latest Block setting.
Definido em:
Codex:

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



Fonte

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