Elementor 初始化
Elementor 提供了一个钩子,在插件完全加载时触发。
钩子详情
- 钩子类型: 动作钩子
- 钩子名称:
elementor/init - 影响范围: 初始化过程
示例
function my_plugin() {
// ...
}
add_action( 'elementor/init', 'my_plugin' );
这篇文档对你有帮助吗?
谢谢你的反馈!