Clicky

  1. Home
  2. How To
  3. How to change Author name by using Filter

How to change Author name by using Filter

If you want to change the Author name then first you need to create a Custom Plugin and add below the filter.

Example code:

add_filter('ampforwp_modify_author_name','prefix');
function prefix($author_name ){
	$author_name = 'Seneca';
	return $author_name ;
}

The Output of Author name in AMP

That’s it for this tutorial!

We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.

Ask your Questions Directly!
If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!
Updated on May 8, 2020

    Are you still looking for a solution?

    Then fill out the below form and we will reach out to you within a few hours.

    Was this article helpful?

    Related Articles

    Leave a Comment