Init hook runs every second
-
Hi,
this might be a stupid question, but I couldn’t find an answer to it. So here goes…
I have this plugin that writes its actions to a log file.
The way it’s initialized is by having this line in it:/* * initialize the plugin */ add_action( 'init', 'my_plugin_init' );In
function my_plugin_init()there’s one call to a function that
writes into the logfile.Now in the log there’s an entry every second, although there’s no traffic on the site.
Is this normal? Or is there something completely wrong that generates a lot of
load on my server?Sorry if this has been answered dozens of time but I just couldn’t find it 🙂
Cheers,
Christian
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Init hook runs every second’ is closed to new replies.