GP_Translation::create PHP Method

create() public method

public create ( $args )
    public function create($args)
    {
        $inserted = parent::create($args);
        if ($inserted && is_array($args) && isset($args['translation_set_id'])) {
            gp_clean_translation_set_cache($args['translation_set_id']);
        }
        return $inserted;
    }