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' );

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *