1. Home
  2. Documentation
  3. WordPress SDK
  4. Text & Strings Customization

Text & Strings Customization

All the SDK’s text and strings are customizable. Every string has its own unique key which you can use to override it.

You can use the fs_override_i18n() function as following:

fs_override_i18n( array(
    'opt-in-connect' => __( "Yes - I'm in!", '{your-text_domain}' ),
    'skip'           => __( 'Not today', '{your-text_domain}' ),
), '{your_slug}' );

Or the override_i18n() public method of the Freemius class:

my_freemius->override_i18n( array(
    'opt-in-connect' => __( "Yes - I'm in!", '{your-text_domain}' ),
    'skip'           => __( 'Not today', '{your-text_domain}' ),
) );