first commit
This commit is contained in:
16
wp-content/plugins/brizy/compatibilities/polylang.php
Normal file
16
wp-content/plugins/brizy/compatibilities/polylang.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/*
|
||||
* https://wordpress.org/plugins/polylang/
|
||||
*/
|
||||
class Brizy_Compatibilities_Polylang {
|
||||
|
||||
public function __construct() {
|
||||
add_action( 'brizy_post_loop_args', [ $this, 'post_loop_args' ] );
|
||||
}
|
||||
|
||||
public function post_loop_args( $args ) {
|
||||
$args['lang'] = '';
|
||||
|
||||
return $args;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user