钩子文档

wp_template_enhancement_output_buffer_started

💡 云策文档标注

概述

本文档介绍了 wp_template_enhancement_output_buffer_started 这个 Hook,它在模板增强输出缓冲区启动时触发,主要用于 WordPress 开发中的模板处理。

关键要点

  • Hook 名称:wp_template_enhancement_output_buffer_started
  • 触发时机:当模板增强输出缓冲区启动时
  • 相关函数:wp_start_template_enhancement_output_buffer(),位于 wp-includes/template.php 中,用于启动缓冲区
  • 引入版本:WordPress 6.9.0

📄 原文内容

Fires when the template enhancement output buffer has started.

Source

do_action( 'wp_template_enhancement_output_buffer_started' );

Changelog

Version Description
6.9.0 Introduced.