Jika WP ujung depan

if(!is_admin()) {
//logic
}
Andrew Lautenbach