public function __get($key)
{
if (method_exists($this, 'get_' . $key)) {
return call_user_func(array($this, 'get_' . $key));
} else {
/* translators: %s: property key */
return new WP_Error('give-customer-invalid-property', sprintf(esc_html__('Can\'t get property %s.', 'give'), $key));
}
}