How to Wildcard Delegates in c++ to blueprints?

Hi, I’m looking for a way to create a delegate that can contain at least one parameter like Wildcard. I am trying to create a predicate to search an array via FilterByPredicate. Honestly I’ve been stuck at this point and I would need some idea to solve it.

DECLARE_DYNAMIC_DELEGATE_TwoParams(FWildcardFilterDelegate, const UProperty*, Value, bool&, Result);

UCLASS()
class SORTPLUGIN_API USortPluginBPLibraryAdvanced : public UBlueprintFunctionLibrary
{
	GENERATED_BODY()
	
	UFUNCTION(BlueprintCallable, meta = (DisplayName = "PredicateFilterWildcard", CompactNodeTitle = "PredicateFilter", ArrayParm = "Array", ArrayTypeDependentParams = "Results", BlueprintThreadSafe, CustomThunk, Keywords = "Filter plugin Array Wildcard Predicate", ToolTip = "Filter an array using a predicate", CustomStructureParam = "Array"), Category = "Filter")
		static void PredicateFilterWildcard(const TArray<UStructProperty*>& Array, const FWildcardFilterDelegate& PredicateFunction, TArray<UStructProperty*>& Results, bool InvertResult = false);
}

Hey Estigio97,
have you already taken a look at this thread?