public function postObjectQuery($args, $field, $post_id)
    {
        $post_types = array('post', 'page');

        $custom_post_types = get_field('avabile_dynamic_post_types', 'option');
        if (is_array($custom_post_types) && !empty($custom_post_types)) {
            foreach ($custom_post_types as $post_type) {
                $post_types[] = sanitize_title(substr($post_type['post_type_name'], 0, 19));
            }
        }

        $args['post_type'] = $post_types;

        return $args;
    }