C++ function in my Blueprints panel?

When writing a function in c++ I can access it through the right click menu in the blueprint editor, but it isn’t visible in the My Blueprint panel in the blueprint editor. Is there a metadata or function specifier that I’m missing?

	UFUNCTION(BlueprintCallable, Category = "My Function")
		void MyFunction();