$linked_user_id = function_exists('vmx_get_tierarzt_user_id_by_post_id') ? vmx_get_tierarzt_user_id_by_post_id($doc_id) : 0; if ($linked_user_id > 0) { $synced = function_exists('vmx_sync_tierarzt_post_from_user') ? vmx_sync_tierarzt_post_from_user($linked_user_id) : false; }