No, it is not possible to run an add_action
function without using the do_action
hook. The purpose of the add_action
function is to add a callback function to be executed when a certain hook is fired using do_action
. Without the hook being fired, the callback function will not be executed.
Asked: 2021-07-10 11:00:00 +0000
Seen: 16 times
Last updated: Nov 14 '21