
站长必备技能:浏览器缓存数据怎么清理?
block_core_latest_posts_get_excerpt_length ( No parameters )
block_core_latest_posts_get_excerpt_length: 该函数用于获取最新文章块的摘录长度。它从该块的设置或全局excelpt_length选项中获取该值。
在渲染时,最新文章块使用的excelpt_length过滤器的回调。
function block_core_latest_posts_get_excerpt_length() { global $block_core_latest_posts_excerpt_length; return $block_core_latest_posts_excerpt_length; }