Support

Home Forums Event Espresso Premium Event Registration and Ticketing Powered by Event Espresso

Event Registration and Ticketing Powered by Event Espresso

Posted: January 1, 2015 at 4:26 pm

Viewing 2 reply threads


chrisscottuk

January 1, 2015 at 4:26 pm

Hi,

Event Registration and Ticketing Powered by Event Espresso
appears on most wp-admin pages, even those unconnected with Event Espresso. Is there anyway to disable this, so it only appears on EE pages?


Dean

January 2, 2015 at 6:27 am

Hi,

Probably the easiest way to handle that is to translate the text to a blank.

E.g.

function youruniqueprefix_filter_gettext( $translated, $original, $domain ) {
    $strings = array(
        'Event Registration and Ticketing Powered by %sEvent Registration Powered by Event Espresso%s' => ''
    );
    if ( isset( $strings[$original] ) ) {
        $translations = &get_translations_for_domain( $domain );
        $translated = $translations->translate( $strings[$original] );
    }
    return $translated;
}
add_filter( 'gettext', 'youruniqueprefix_filter_gettext', 10, 3 );

That can be added to a site specific plugin: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


Josh

  • Support Staff

January 2, 2015 at 9:04 am

Hi there,

There’s a snippet in the documentation that you can use to remove the Powered by message in all the admin footer pages:

https://eventespresso.com/wiki/useful-php-code-snippets/#remove-powered-by

Viewing 2 reply threads

The support post ‘Event Registration and Ticketing Powered by Event Espresso’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso