Here is the simple PHP snippet which will replace the “Beaver Builder” text in all places with your custom text.
Put the following PHP code into your theme’s functions.php file. I use the custom text “Paul Builder” in the code. You will replace it with yours one.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<?php // Do not include this line add_filter( 'gettext', 'paulc_change_bb_admin_text', 20, 3 ); function paulc_change_bb_admin_text( $translated_text, $text, $domain ) { if ( 'fl-builder' == $domain ) { switch ( $translated_text ) { case 'Beaver Builder' : $translated_text = __( 'Paul Builder', $domain ); break; } } return $translated_text; } |
Leave a Reply