how to overwrite next_post_link

Is there any custom php code that lets me overwrite next_post_link so I can customize it to my liking? I can add code in functions.php

Right now it shows next post
But I want to show something else

Read more here:: how to overwrite next_post_link

Leave a Reply

Your email address will not be published. Required fields are marked *