1 | initial version |
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.