/home/techb158/primomovers.ca/wp-content/plugins/polylang-pro/modules/rest
NameSizeModeActions
error_log572640644editdlrm
load.php2200644editdlrm
rest-api.php64080644editdlrm
rest-comment.php9330644editdlrm
rest-filtered-object.php26970644editdlrm
rest-post.php141270644editdlrm
rest-term.php36110644editdlrm
rest-translated-object.php43630644editdlrm
Edit: /home/techb158/primomovers.ca/wp-content/plugins/polylang-pro/modules/rest/rest-comment.php (933B)
array() ) ); $this->type = 'comment'; add_action( 'parse_comment_query', array( $this, 'parse_comment_query' ), 5 ); } /** * Filters the query per language according to the 'lang' parameter. * * @since 2.6.9 * * @param WP_Comment_Query $query Comment query. * @return void */ public function parse_comment_query( $query ) { if ( isset( $this->request['lang'] ) && in_array( $this->request['lang'], $this->model->get_languages_list( array( 'fields' => 'slug' ) ) ) ) { $query->query_vars['lang'] = $this->request['lang']; } } }