I wanted to make a social media bar available for users. I have a problem getting it to show only icons that have an address. I know how to check whether or not an option exists, but is there an easier way than to code it one by one with this:
if( !get_option( $name ) ) {
// no nothing here
} else {
//your migrate stuff here
}
I’ve tried other ways and it just doesn’t work. Any help is appriciated