wp_before_load_template
-
In a plugin amb trying to use this filter: wp_before_load_template; I use it like
add_action(‘wp_before_load_template’,’my_function_before_load_template’, 20, 3);
But I can not get any log neither in the Site Editor or in the front end.
I am using a block theme (Twenty Three) and WP 6.3.1 on a local host.
What I am doing wrong?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wp_before_load_template’ is closed to new replies.