Fixed error from shortcodes class on admin

Signed-off-by: Paul Hughes <paul@paulalexanderhughes.com>
Fixed error on admin related to deleted function

Signed-off-by: Paul Hughes <paul@paulalexanderhughes.com>