I have a class that has the function in it. Here is a shortened example.
Setup:
class PostArticle {
public function article_init(){
update_post_meta( 10123, 'phone-number', '8885551234');
}
}
Use:
$Article = new PostArticle;
$Article->article_init();