WordPress Add Action

// Hooks a function on to a specific action.
add_action( string $tag, callable $function_to_add, int $priority = 10,
 int $accepted_args = 1 )

Leave a Comment