I have a custom payment method which is working fine but I need to change its title dynamically so I add a plugin aftergettitle() now the issue is that payment method title is not showing under payment and shipping method.

I also tried this but not worked for me.

enter link description here

I guess there's no need to share the code as it working fine without plugin and the plugin is only returning title if any one need code do comment ill share it

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.