Cancel button text change. | WordPress.org

HI @taku0407 , you can add this block of code in your active theme’s functions.php file to change text.

add_filter('gettext','change_translate_text',20);
function change_translate_text($translated_text){
   if('Cancel Request'  === $translated_text){
      $translated_text = 'Cancel';
   }
   return $translated_text;
}

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer