Function Reference: geodir_enable_editor_on_claim_notifications

Summary

This function has not been documented yet.

Source Code

function geodir_enable_editor_on_claim_notifications($notification){
	
	if(!empty($notification) && get_option('geodir_tiny_editor')=='1'){
		
		foreach($notification as $key => $value){
			if($value['type'] == 'textarea')
				$notification[$key]['type'] = 'editor';
		}
		
	}
	
	return $notification;
}