Change Content Dock Check Box Text

Hi support team,

I’m looking for a way to change the text “Do not show again” in Content Dock into my language.
I’ve read this thread, but this seems to be a huge effort.

Is there an esier way to just change the text?

Thank you!

Hello There,

Thanks for writing in!

Assuming that your child theme is set up, please add the following code in your child theme’s functions.php file

// Change Do not show again title to something else
// =============================================================================
function change_donotshow($translated) { 
  $translated = str_ireplace('Do not show again', 'insert your translation here', $translated);
  return $translated; 
}
add_filter('gettext', 'change_donotshow' );
// =============================================================================

Please let us know how it goes.

Worked perfectly! Thanks so much!

You’re most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.