po plugin: replace targetpage hook with wrapper function