I am trying pass a WP function to a user function, where I can pass a new func argument `$key` for each `post_meta` type here: 

functions.php

```
  function my_post_meta($key){
      $meta = get_post_meta($post->ID, $key, true); 
      if ($meta) {
       echo $meta . '<br />';           
     }  
   }

```

page-template.php

Edit:
These functions will be inside a `foreach()` of `get_posts()`. 

```
my_post_meta("Author");
my_post_meta("Date") .'customise this meta key';
my_post_meta("Address") .'customise this meta key';

```