! move inline function to admin subs

Signed-off-by: Spuds <spuds@spudsdesign.com>