Created
December 5, 2024 12:12
-
-
Save abdulawal39/da5d19c4be8fc7e19218459bb947c684 to your computer and use it in GitHub Desktop.
Replace Categories text - Display - TNC FlipBook Addon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function tncsupport_change_categories_label($translated_text, $text, $domain) { | |
if ($text === 'Categories' && $domain === 'display-pdf-viewer-for-wordpress-addon') { | |
return 'Custom Text'; // Replace this with the desired text. | |
} | |
return $translated_text; | |
} | |
add_filter('gettext', 'tncsupport_change_categories_label', 10, 3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment