Reduce code

fix Gizburdt/Wordpress-Cuztom-Helper#281, fix Gizburdt/Wordpress-Cuztom-Helper#282