| @@ -34,8 +34,10 @@ | ||
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * Adds a filter to WPML's wpml_get_home_url filter to ensure we get the unmanipulated home URL. |
| 38 | + * | |
| 39 | + * @return void | |
| 38 | 40 | */ |
| 39 | 41 | public function filter_home_url_before() { |
| 40 | 42 | \add_filter( 'wpml_get_home_url', [ $this, 'wpml_get_home_url' ], 10, 2 ); |
| 41 | 43 | } |