Title: Change button label
Last modified: August 20, 2016

---

# Change button label

 *  Resolved [freefrench](https://wordpress.org/support/users/freefrench/)
 * (@freefrench)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-button-label/)
 * You removed the wpfb_output_button filter in 2.5.1. I was using it to translate
   the text according to language selected, how can I do it now?
 * [http://wordpress.org/extend/plugins/wp-fb-autoconnect/](http://wordpress.org/extend/plugins/wp-fb-autoconnect/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [JK](https://wordpress.org/support/users/justin_k/)
 * (@justin_k)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-button-label/#post-3287314)
 * Oh wow – I didn’t think anyone else was actually using that, sorry.
 * The change was because my original free/premium design of just overwriting the
   entire tag was really messy, and I’d planned to redo it up a bit in a future 
   version – perhaps use HTML5 rather than xfbml and document.write().
 * I just submitted an update (2.5.3) that adds a new filter (renamed to reflect
   the fact that it ONLY applies to the text, not the whole entire tag) 🙂
 *  Thread Starter [freefrench](https://wordpress.org/support/users/freefrench/)
 * (@freefrench)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-button-label/#post-3287320)
 * Great! And what is the name of this new filter?
 *  Plugin Author [JK](https://wordpress.org/support/users/justin_k/)
 * (@justin_k)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-button-label/#post-3287321)
 * …Ummm, I don’t see why you don’t just open the file and look, but it’s wpfb_button_text…
   😛
 *  Thread Starter [freefrench](https://wordpress.org/support/users/freefrench/)
 * (@freefrench)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-button-label/#post-3287322)
 * Ok but it seems this filter applies only to free version. How can I do with Premium
   version?
 *  Plugin Author [JK](https://wordpress.org/support/users/justin_k/)
 * (@justin_k)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-button-label/#post-3287323)
 * …Just do it in the options. There’s no need to use a filter with the premium 
   version, never has been.
 *  Thread Starter [freefrench](https://wordpress.org/support/users/freefrench/)
 * (@freefrench)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-button-label/#post-3287324)
 * Please read what I wrote. I used this filter to change the button label according
   to language. So I need a programmatic way to change it.
 *  Plugin Author [JK](https://wordpress.org/support/users/justin_k/)
 * (@justin_k)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/change-button-label/#post-3287325)
 * Ohh, *according* to language – I thought you meant you were just setting it to
   the language of your site.
 * Why not just:
    set_option($opt_jfbp_buttontext, “yourtext”)
 * in wp_head or something, based on the current language…? It’s equivalent to doing
   it in the options, but programmatic…

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Change button label’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-fb-autoconnect.svg)
 * [WP Social AutoConnect](https://wordpress.org/plugins/wp-fb-autoconnect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-fb-autoconnect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-fb-autoconnect/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-fb-autoconnect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-fb-autoconnect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-fb-autoconnect/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [JK](https://wordpress.org/support/users/justin_k/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/change-button-label/#post-3287325)
 * Status: resolved