wc extension activated function