WordPress.org

Ready to get started?Download WordPress

Forums

Changing text in a _e function? (3 posts)

  1. Kalessin
    Member
    Posted 5 years ago #

    Hi,

    My plugin removes the need for UK users to change the UTC offset, so I would like to change the text that's displayed on the admin page options-general.php: 'Unfortunately, you have to manually update this for Daylight Savings Time. Lame, we know, but will be fixed in the future.'

    I think I'm right in saying that this text cannot be replaced by add_filter, but because it is generated with the code <?php _e('Unfortunately... I was wondering if there is still some way I can change it, perhaps by filtering the _e function somehow?

    Thanks for your help.

  2. Joost de Valk
    Member
    Posted 5 years ago #

    Looking at the code, I can't find any filters in that area of the code... Wouldn't know how to do this myself, to be honest.

  3. Kalessin
    Member
    Posted 5 years ago #

    I'm only assuming it can be done because the text can be replaced with a different language. But I don't know how to do it that way either!

Topic Closed

This topic has been closed to new replies.

About this Topic