Skip to content

Instantly share code, notes, and snippets.

@indikatordesign indikatordesign/functions.php Secret
Last active Sep 17, 2018

Embed
What would you like to do?
[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
You can’t perform that action at this time.