public function post_type();
/** * @param array $args * @return array */ private function prepare_translation_arguments(array $args) { $arguments = wp_parse_args($args, ['site_id' => get_current_blog_id(), 'content_id' => $this->request->queried_object_id(), 'type' => $this->request->type(), 'strict' => true, 'search_term' => get_search_query(), 'post_type' => $this->request->post_type(), 'include_base' => false, 'suppress_filters' => false]); /** * Filter the translation arguments. * * @param array $arguments Translation arguments. */ $arguments = apply_filters('mlp_get_translations_arguments', $arguments); return $arguments; }