Skip to content

Instantly share code, notes, and snippets.

@indikatordesign
Last active September 17, 2018 09:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save indikatordesign/4eb084290fa2910df09fd6b73beed83c to your computer and use it in GitHub Desktop.
Save indikatordesign/4eb084290fa2910df09fd6b73beed83c to your computer and use it in GitHub Desktop.
[DFBM - Change 'All' text string]#dfbm
<?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