How can we set excerpt length on {{ custom_excerpt }} like {{ excerpt characters="80" }}?

I need to add excerpt manually but need to fix the character length on frontend {{ excerpt characters=“80” }} this only works for default excerpt but I want to add it for {{ custom_excerpt }} also like {{ custom_excerpt characters=“10” }}. Can you please help me on this?


{{excerpt}} is a helper and will use a custom excerpt if set and fall back to the default excerpt if a custom one isn’t set. Is there a reason you can’t use {{excerpt}} in this case?

{{custom_excerpt}} is a direct access to the data property on the post. As it’s not a helper there are no fallbacks and no options that control the data that’s output.

Yeah! There must be a callback so that user put character length on their own.