Polylang compatibility
-
The plugin has a little compatibility problem with Polylang, since both add a “widget_display_callback” filter. It is necessary that this plugin acts after Polylang, otherwise the plugin can be shown several times (for example, in the case of having a translated copy of the same widget for every language).
The fix is quick and simple:
add_filter( 'widget_display_callback', array( $this, 'widget_callback' ), 11, 3 );
(priority “11” because Polylang uses “10”)
Greetings
- The topic ‘Polylang compatibility’ is closed to new replies.