Add a filter to the family shortcode.