Changeset 1558084
- Timestamp:
- 12/20/2016 10:08:18 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
buddypress-multilingual/trunk/includes/class.filters.php
r1558056 r1558084 149 149 public function remove_wpml_post_availability_hook() { 150 150 if ( !bp_is_blog_page() ) { 151 global $icl_language_switcher;152 remove_filter( 'the_content',153 array($icl_language_switcher, 'post_availability'), 100);151 add_filter( 'wpml_ls_post_alternative_languages', function(){ 152 return ''; 153 }); 154 154 } 155 155 }
Note: See TracChangeset
for help on using the changeset viewer.