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



render_block_core_template_part_none › WordPress动作钩子

Since5.9.0
已弃用n/a
do_action( 'render_block_core_template_part_none', $template_part_id, $attributes, $template_part_file_path )
参数: (3)
  • (string) $template_part_id The requested template part namespaced to the theme.
    Required: Yes
  • (array) $attributes The block attributes.
    Required: Yes
  • (string) $template_part_file_path Absolute path to the not found template path.
    Required: Yes
定义在:
文档:

Fires when a requested block template part does not exist in the database nor in the theme.





源码

do_action( 'render_block_core_template_part_none', $template_part_id, $attributes, $template_part_file_path );