function wpassist_insert_terms(){
$ahc = get_term_by('name', 'American Heroes Channel', 'post_tag');
if( !$ahc ){
wp_insert_term( 'American Heroes Channel', 'post_tag');
wp_insert_term( 'Discovery Channel', 'post_tag');
wp_insert_term( 'Animal Planet', 'post_tag');
wp_insert_term( 'USA Network', 'post_tag');
wp_insert_term( 'Amazon', 'post_tag');
wp_insert_term( 'TNT', 'post_tag');
}
}
add_action( 'wp_head', 'wpassist_insert_terms' );
Deal Notice: We are using A2 hosting for all of our websites, and we are really happy with their service. So we wanted to share you this discount link for you to try it out. If you get a hosting using this link, you will also help us build better content for you:
SSD Hosting - 300% Faster Than Standard Hard Drives
