-
-
Save indikatordesign/4eb084290fa2910df09fd6b73beed83c to your computer and use it in GitHub Desktop.
[DFBM - Change 'All' text string]#dfbm
This file contains 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
<?php | |
// Simply add this snippet to your themes "functions.php" file and change "My Text" with your text | |
add_filter( 'gettext', function( $translation, $text, $domain ) | |
{ | |
if ( 'All' == $translation && 'divi-filterable-blog-module' == $domain ) | |
{ | |
$translation = 'Your Text'; | |
} // end if | |
return $translation; | |
}, 20, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment