Skip to content

Instantly share code, notes, and snippets.

Last active Sep 17, 2018
What would you like to do?
[DFBM - Change 'All' text string]#dfbm
// 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